You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I used it on my Laravel + Vue project.
Added it for global usage.
It's working, but only when I scroll for 30px maybe.
The height of the page is more than 100vh, but top line goes from 0 to 100% when I scroll for 20-30px. http://prntscr.com/n2ogqp
Could you help me to understand what's wrong?
The text was updated successfully, but these errors were encountered:
It seems like the total height of the website that you capture, is not that high.
The top line goes 100% when scrollbar reaches bottom of the page.
So when if your website's total height is (100vh + 30px) and you scroll for 30px,
the top line will go to 100%.
Oh, I figure out what's wrong.
You are getting the height of the page when the page is loaded.
But in my case, I am loading some data with ajax. And my page height has changed, but you plugin didn't get that's event.
I understand it when i set to body fixed height: body { height: 3000px; }
and that's work.
I think this plugin need some updates with eventListener for resize.
Hi, I used it on my Laravel + Vue project.
Added it for global usage.
It's working, but only when I scroll for 30px maybe.
The height of the page is more than 100vh, but top line goes from 0 to 100% when I scroll for 20-30px.
http://prntscr.com/n2ogqp
Could you help me to understand what's wrong?
The text was updated successfully, but these errors were encountered: