react-native-custom-action-sheet
react-native-custom-action-sheet copied to clipboard
CustomActionSheet renders invisible overlay when modelVisible is false
When modelVisible
is false, it still renders seemingly invisible overlay on the background causing the background not to be interactable. I worked around this by basically rendering this.state.show && <CustomActionSheet modelVisible={this.state.show}>
I'm having the same issue, the project has low downloads and may not be maintained. Might be worth a pull request.
Ad far as I can see this library just uses react-native
modal, with an ios styled button below the children inside it. The FadeInView
is an opacity animated View
, wrapped around the Modal
, so it wont work unless the place you trigger the modal is inside a view that covers the whole viewport. I think it's better to use the react-native
modal and follow this issue https://github.com/facebook/react-native/issues/12478