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

Fix triggering onSnapToItem on react-native-web #986

Open
wants to merge 1 commit into
base: 4.0.0-beta.x
Choose a base branch
from

Conversation

oleksiisinkov
Copy link

@oleksiisinkov oleksiisinkov commented Jul 5, 2023

Platforms affected

Web

What does this PR do?

As mentioned in this issue expected behavior is triggering onSnaptoItem on web but currently it doesn't work correctly.

This PR fixes triggering onSnapToItem callback on react-native-web.

Fix doesn't affect other platforms.

What testing has been done on this change?

Tested on android, ios, web

Tested features checklist

@admin-boclar
Copy link

Hello @oleksiisinkov. Could you explain me how to run this package in web?

It does not render anything on my end, and I see the following error on the terminal:
image

It works fine on expo,
Thanks!

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

Successfully merging this pull request may close these issues.

None yet

3 participants