jeremybarbet/react-native-modalize

Glitch on some ios devices randomly

mcAnastasiou opened this issue · 1 comments

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

sss.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.