scrollpos-styler
scrollpos-styler copied to clipboard
JavaScript to add custom CSS class to an HTML element depending on scroll position
Hey, Is there a way / option to apply the script inside a container with a scroller inside? For example inside a modal the Window overflow is hidden so the...
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...
I can't find how this is supposed to work... ```javascript import ScrollPosStyler from "scrollpos-styler"; ScrollPosStyler.init(); // Uncaught TypeError: init is not a function ```