scrollpos-styler
scrollpos-styler copied to clipboard
Scroll in Firefox
everything is good in chrome. i can not run same project , in mozila firefox , i scroll down , my side bar dont scroll to down , and scroll bar get more shorter and shorter , but page dont scroll down!
I've tried in Firefox and Chrome and the behaviour is just the same. Didn't happened any of those things. Maybe your problem is somewhere else?
@Bahramibh the script switch 2 classes abv
and blw
if the element reach the offset. It's set to do that on the navbar which have a 0 offset by default.
So if your sidebar change somehting in its appearance or position, it is almost a certitude that the problem is in CSS. Not in the js.
Also, please note that...
This script is designed to modify attributes OTHER THAN an element's position. It doesn't work well when changing positioning of an element... https://github.com/acch/scrollpos-styler#differentiation-and-limitations
Are you trying to switch your sidebar between position:relative
and position:fixed
?
Any news for us? Have you been able to sort things out, or can you please provide further details if you still need help...
Any news for us? Have you been able to sort things out, or can you please provide further details if you still need help...