locomotivemtl / locomotive-scroll

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

Locomotive Scroll not working until I do Inspect Element on Safari #498

Open Touseef-khattak opened 1 year ago

Touseef-khattak commented 1 year ago

Hello, I am experiencing an issue with the Locomotive Scroll on Safari Mac where it does not work until I manually perform the "Inspect Element" action. This issue is causing an inconvenience as it disrupts the user experience for visitors using Safari on a Mac device.

Steps to Reproduce:

Expected behavior The Locomotive Scroll feature should work without any issues on Safari Mac devices without requiring any manual actions such as "Inspect Element".

Thank you.

timothyachumba commented 1 year ago

I seem to be experiencing the same issue. @Touseef-khattak did you find a solution for this?

oongniel commented 1 year ago

@timothyachumba @Touseef-khattak try to make the scrollFromAnywhere option false. This should work.

naeem-dev commented 1 year ago

@oongniel locomotive scrollFromAnywhere default value is already false.