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

The user cannot scroll, they can only watch #18

Open
jeremyfrancis opened this issue Dec 9, 2021 · 4 comments
Open

The user cannot scroll, they can only watch #18

jeremyfrancis opened this issue Dec 9, 2021 · 4 comments

Comments

@jeremyfrancis
Copy link

I want to use this is, it's great, but we can't because it takes away the user's ability to scroll and defeats the purpose. If it could stop animating when the user starts scrolling (touch down) that would be perfect.

Also, TypeScript wouldn't kill anyone either.

@jeremyfrancis
Copy link
Author

I solved this by wrapping the AutoScrolling component in a horizontal ScrollView and setting the AutoScrolling style={{ width: widthOfContents }}

My content was a FlatList and I had to set the FlatList to enableScrolling={false} and then it worked.

@minhtc
Copy link
Collaborator

minhtc commented Dec 9, 2021

Thank you for sharing your experience.

@olafkotur
Copy link

Applied a similar solution in my project, worked nicely thank you :)

@vaishnavichauhan
Copy link

thank you

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

4 participants