react-native-modalize
react-native-modalize copied to clipboard
Issues and weird effects when scrolling a list in a modal that is not full screen/fully opened
Describe the bug Scrolling a FlatList inside the Modalize component that is not full screen (alwaysOpen prop used for keeping it half the screen) will trigger a Modal height change on subsequent touch of the FlatList. The change in height is proportional with the first scroll amount of the FlatList. Same thing actually happens with just a scroll view.
Reproduce
- This happens in the examples of the lib too, just modifying the FlatList example by having is alwayOpen at some middle point of the screen. Here is the snack:
https://snack.expo.dev/embed.js
Dependencies:
- react-native-modalize 2.0.8
- react-native [e.g. 0.62.0]
- react-native-gesture-handler [e.g. 1.6.0]
- expo 1.10.3
Same problem
Same problem only on Android