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

IntersectionObserver API for React Native #20

Open
nelsonleite opened this issue Nov 25, 2021 · 0 comments
Open

IntersectionObserver API for React Native #20

nelsonleite opened this issue Nov 25, 2021 · 0 comments
Labels
status: available No one has claimed responsibility for resolving this issue type: feature New feature

Comments

@nelsonleite
Copy link
Contributor

Is your proposal related to a problem?

react-native does not provide an IntersectionObserver API for detecting when an UI view is in the viewport.

Describe the solution you'd like

We could provide a similar API that will ease some tasks related to our apps, like tracking product impressions in analytics. We should strive for an API as similar to IntersectionObserver on the web as possible, to allow for sharing opportunities between web and native code.

Describe alternatives you've considered

react-native-intersection-observer

@nelsonleite nelsonleite added status: available No one has claimed responsibility for resolving this issue type: feature New feature labels Nov 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: available No one has claimed responsibility for resolving this issue type: feature New feature
Development

No branches or pull requests

1 participant