react-native-design-system icon indicating copy to clipboard operation
react-native-design-system copied to clipboard

Overlay issue

Open in2progress opened this issue 4 years ago • 1 comments

RN: 0.63 Simulator: iOS 16.3

Three things:

  1. Overlay completely blanks out background screen.
  2. Clicking outside of Modal does not dismiss (if not a feature, should be :) )
  3. When setting visible back to false, onRequestClose is not firing.

<Overlay visible={visible} onRequestClose={() => {console.log('modal closed')} }> <View> <Text>Hey there!</Text> <Button length="short" onPress={() => {setVisible(false)}}>Close</Button> </View> </Overlay>

image image

in2progress avatar Sep 11 '20 13:09 in2progress

I'm aware of this one, long overdue. Will fix over the weekend.

iamshadmirza avatar Sep 11 '20 13:09 iamshadmirza