locomotivemtl / locomotive-scroll

🛤 Detection of elements in viewport & smooth scrolling with parallax.
https://locomotivemtl.github.io/locomotive-scroll
MIT License
7.54k stars 1.11k forks source link

v5 data-scroll-direction="horizontal" not working #553

Closed muhamedkarajic closed 3 months ago

muhamedkarajic commented 3 months ago

Describe the bug Before I had a element like:

<div data-scroll="" data-scroll-direction="horizontal" data-scroll-speed="0.1">Example</div>

After updating to v5 somehow the horizonal scroll dose not work anymore. I have been trying to add the css as described on the Quick start but it did not work.

To Reproduce I think this is for any horizional scroll.

Please provide a demo of horizional scroll with v5.

muhamedkarajic commented 3 months ago

Closing since this is opened in https://github.com/locomotivemtl/locomotive-scroll/issues/533