Open kun-guo opened 7 years ago
when press hardware back on android, trigger an event to hide modal, first time it's ok, then reopen the modal, then hide modal fail!
have you resolved it??
@xinwanggit 搞定了,这是react-native的问题,我自己写了个基于绝对定位的弹出层也是一样的问题。最后我自己写了个动画,通过控制view的高度完美解决
always set the modalOpen state to false
when press hardware back on android, trigger an event to hide modal, first time it's ok, then reopen the modal, then hide modal fail!