react-native-custom-action-sheet icon indicating copy to clipboard operation
react-native-custom-action-sheet copied to clipboard

CustomActionSheet renders invisible overlay when modelVisible is false

Open dchhetri opened this issue 6 years ago • 2 comments

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}>

dchhetri avatar Oct 24 '17 21:10 dchhetri

I'm having the same issue, the project has low downloads and may not be maintained. Might be worth a pull request.

Kikketer avatar Oct 31 '17 16:10 Kikketer

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

conor909 avatar Nov 16 '17 17:11 conor909