-
Notifications
You must be signed in to change notification settings - Fork 243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't work inside iframe on iOS (workaround found) #59
Comments
Tested a project we're working on, and same issue, no events in iOS if iframed. Has this been acknowledged? |
If you make a PR and I'll almost definitely accept it. |
@GordanRatkovic Dunno if you ever figured it out, but for anyone else having this issue, it is not problem with scrollMonitor, but rather how ios safari handles iframes. The iframe size is not properly sized, and just ends up taking up the entire content size. This causes the animations to all be "in view" at load. Solution is to wrap all of the content in the iframe src (not in iframe) and give this wrapper the style @stutrek I think this issue can be closed |
Thanks for figuring it out. I'll leave this issue open for anyone else with this problem. |
Tested with the demo page
The text was updated successfully, but these errors were encountered: