Closed JohnWilliamForcier-Spiria closed 2 years ago
Having the same issue. If the ModalItem opens a modal, it gets automatically closed. Or for example, if it runs Share.share
(in order to share a link), it close it.
The easiest workaround I've found is to set animationDuration: 0
. You can keep the open animation and disable the hide animation:
<Menu visible={visible} animationDuration={visible ? 300 : 0} />
Great I think for the moment it makes sense. Thanks it works!
I know this was a problem in the last 1.X versions and there was a callback on the hide function. Do you have a workaround for this version?
Thanks!