brentvatne / stargrave-0

preserving my stars for vanity. former home of react-native-modal
389 stars 65 forks source link

Don't open modal if scene is not active [full screen mode] #26

Closed grabbou closed 7 years ago

grabbou commented 9 years ago

If, by any chance (in my case it was a mistake), two the same Views are in the routes stack and one of them is inactive, when the modal is activated, it appears as many times as number of scenes that contain it in the stack. Not something I'd expected to happen imo. All works well tough, the only drawback is the semi-transparent background gets darker and darker with the number of modals activated.

brentvatne commented 9 years ago

Definitely a bug, I might not have a chance to fix this for a few days but feel free to have a crack at it if you need a fix before then

akabab commented 9 years ago

looks like I have the same issue, if I have an opened modal and I refresh the simulator (either manually or from live reload) everything gets redrawn exept the modal, so it get stacked over and over.. it's not easy for developping and I don't know where that comes from, it's really weird. Any fix yet ?