react-native-pagination
react-native-pagination copied to clipboard
Modal not working properly after adding pagination
@garrettmac Any idea why the modal reopen and got stuck after I set visible = false? Tried the same flow without adding pagination and it works properly.
Flow:
- Render pagination and modal
- Open modal
- Close modal
- *Modal reopen and screen freeze if pagination component presents
Update:
Seems like the culprit is animation conflict between Modal and Pagination component. After remove LayoutAnimation.configureNext(dotAnimation); in ./react-native-pagination/index.js, Modal is working properly.
@garrettmac PR is submitted to modify the animation props to optional, do make your review. Thanks.