Skip to content
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

react visibility firing off at the wrong times in iOS iframe #36

Open
stanleycyang opened this issue Jun 2, 2016 · 2 comments
Open

Comments

@stanleycyang
Copy link

I am working on making my pages embeddable via iframes. So far it works perfectly on every device except iOS.

The react visibility sensor seems to be firing off at the wrong times, making the experience very poor: https://happiness2others.herokuapp.com/testimonials (view example on iOS device).

On my test iPhone, it's firing off when I only scrolled a little bit, which kills the infinite scroll.

Any ideas on why it's doing this?

@joshwnj
Copy link
Owner

joshwnj commented Nov 24, 2016

@stanleycyang thanks for reporting - I haven't tried this on iOS sorry :)

It's possible that we might need something custom for this. Out of interest is it buggy on both ios chrome & safari? Or just one of them?

@TotallWAR
Copy link

The same here. But it doesn't work on android into iframe too.
Android chrome.
Ios safari too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants