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: demo app tweaks #3821

Merged
merged 2 commits into from
Apr 17, 2023
Merged

fix: demo app tweaks #3821

merged 2 commits into from
Apr 17, 2023

Conversation

lukewalczak
Copy link
Member

@lukewalczak lukewalczak commented Apr 17, 2023

Summary

  • adding unstable_pressDelay - there is an issue with react-native related to detecting gestures, especially when it comes to scrolling the list with touchables – when a user tries to scroll a list, the system may mistakenly detect it as a tap or swipe gesture, which can lead to unexpected behaviour.

  • correct inputReducer - avoid modifying the state, which is again the principles of immutability

Related issue

Test plan

Testing on the physical device, on both platforms.

@github-actions
Copy link

The mobile version of example app from this branch is ready! You can see it here.

@lukewalczak lukewalczak merged commit 1fd71db into main Apr 17, 2023
@lukewalczak lukewalczak deleted the fix/app-demo-tweaks branch April 17, 2023 09:38
teneeto pushed a commit that referenced this pull request May 10, 2023
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.

2 participants