react-native-modalize
react-native-modalize copied to clipboard
Glitch on some ios devices randomly
Describe the bug I have the following code and on some ios devices it has the glitch attached in a video. Any ideas on what can cause it?
<Modalize
ref={refCallback}
adjustToContentHeight
onClose={onModalClose}
HeaderComponent={renderHeader}
modalStyle={styles.modal}
>
<SafeAreaView>
<View style={styles.content}>{renderStep()}</View>
</SafeAreaView>
</Modalize>
Reproduce
https://user-images.githubusercontent.com/45881723/206935112-02685624-f807-467d-886a-73db2ac6e820.mp4
I cannot create an example because i cannot reproduce it. Some users just reported it
Dependencies:
- react-native-modalize: "^2.0.13",
- react-native: "^0.67.5"
- react-native-gesture-handler: "^2.2.0",
Same here. It's some conflict with SafeAreaView. If you remove that you should notice the glitch never happens.