joshwnj / joshwnj/react-visibility-sensor

react visibility firing off at the wrong times in iOS iframe

Open
#36 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.3k
Forks
192
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.