cubiq / iscroll

Smooth scrolling for the web
http://iscrolljs.com
MIT License
12.89k stars 3.82k forks source link

Adding iScroll to Wrapper not changing the transform on mouseScroll #1222

Open svoltmer opened 6 years ago

svoltmer commented 6 years ago

I've got iScroll on another element on the page working fine, but adding a new iScroll instance to the wrapper element of a div of text doesn't seem to work correctly. I can see the script is trying to work when I move the scroll wheel over the area (dev tools), but the style transforms attached to the div that contains the text are not adjusting to expose the hidden text. Is there something that I am missing? Do I have to set specific styles on any elements to get this to work correctly?