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 for Swipeable freezing app (due to change in interpolate implementation) #301

Merged

Conversation

mironiasty
Copy link
Member

This is fix for broken behavior of Swipeable on newer version of React Native (where interpolate do not accept inputRange elements that are not growing/descending).

When rigthWidth is set to 0 (like when we load data to Swipeable) app is freezing for few seconds.
I expect that similar behavior could be reproduced for leftWidth.

Copy link
Member

@kmagiera kmagiera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏 👏 👏

@kmagiera kmagiera merged commit 08d446f into software-mansion:master Oct 2, 2018
janicduplessis pushed a commit to janicduplessis/react-native-gesture-handler that referenced this pull request Feb 16, 2020
This is fix for broken behavior of Swipeable on newer version of React Native (where interpolate do not accept inputRange elements that are not growing/descending).

When `rigthWidth` is set to `0` (like when we load data to `Swipeable`) app is freezing for few seconds. 
I expect that similar behavior could be reproduced for `leftWidth`.
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