react-native-design-system
react-native-design-system copied to clipboard
Overlay issue
RN: 0.63 Simulator: iOS 16.3
Three things:
- Overlay completely blanks out background screen.
- Clicking outside of Modal does not dismiss (if not a feature, should be :) )
- 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>


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