react-native-modalize icon indicating copy to clipboard operation
react-native-modalize copied to clipboard

Issues and weird effects when scrolling a list in a modal that is not full screen/fully opened

Open Symyon opened this issue 3 years ago • 2 comments

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 modalizegif

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

Symyon avatar Aug 04 '21 13:08 Symyon

Same problem

RomanSuvorov avatar Nov 10 '21 16:11 RomanSuvorov

Same problem only on Android

KalanaPallemulla avatar Jan 25 '22 11:01 KalanaPallemulla