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

Glitch on some ios devices randomly

Open mcAnastasiou opened this issue 1 year ago • 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

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",

mcAnastasiou avatar Dec 11 '22 23:12 mcAnastasiou

Same here. It's some conflict with SafeAreaView. If you remove that you should notice the glitch never happens.

marcshilling avatar Apr 26 '23 13:04 marcshilling