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

Laggy when using setParams react navigation on page selected #132

Open
fokoz opened this issue Jul 13, 2019 · 1 comment
Open

Laggy when using setParams react navigation on page selected #132

fokoz opened this issue Jul 13, 2019 · 1 comment

Comments

@fokoz
Copy link

fokoz commented Jul 13, 2019

Device: iOS
This code below cause laggy animation on scroll and blocking gesture

onChangeImage = (index) => {
         this.setState({ index });
         this.props.navigation.setParams({index: index+1})
     }
@fokoz
Copy link
Author

fokoz commented Jul 14, 2019

I don't quite sure if it is because of react-navigation issue
react-navigation/react-navigation#6087

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

1 participant