janpaepke / ScrollMagic

The javascript library for magical scroll interactions.
http://ScrollMagic.io
Other
14.89k stars 2.17k forks source link

Mobile header influence trigger position #981

Open c-obsesie opened 3 years ago

c-obsesie commented 3 years ago

Hello, I am having two animations on my page, placing the triggerHook on position 0.5 respectively 1. On desktop it works fine however on mobile the trigger hook is moving once with browser footer or header in both Android and Iphone. This is because mobile browser but I dont know how to make trigger hook not be influenced by that.

I searched for solutions but nothing fited in my case.

Thank you.