scrollpos-styler icon indicating copy to clipboard operation
scrollpos-styler copied to clipboard

Scroll in Firefox

Open deleteeeeeeeeeeeed opened this issue 5 years ago • 5 comments

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!

deleteeeeeeeeeeeed avatar Feb 03 '20 08:02 deleteeeeeeeeeeeed

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?

javinievas avatar Feb 14 '20 23:02 javinievas

@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.

mamarmite avatar Feb 16 '20 18:02 mamarmite

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?

acch avatar Feb 17 '20 13:02 acch

Any news for us? Have you been able to sort things out, or can you please provide further details if you still need help...

acch avatar Mar 21 '20 18:03 acch

Any news for us? Have you been able to sort things out, or can you please provide further details if you still need help...

acch avatar Mar 21 '20 18:03 acch