colorfy-software / react-native-modalfy

🥞 Modal citizen of React Native.
https://colorfy-software.gitbook.io/react-native-modalfy
MIT License
1.16k stars 48 forks source link

Need Help! dialog shown behind react native modal #162

Closed jaydengwe closed 1 week ago

jaydengwe commented 1 week ago

Hi, thanks for your amazing work, this lib is great!

I switched to this lib a few months ago, because the official modal can't nest multiple modals at the same time.

But now, I am facing another issue that I want to openModal when there is already an official modal on the screen.

The modal opened by openModal is behind the official modal, any ideas regarding this issue?

Thanks!

CharlesMangwa commented 1 week ago

hey @jaydengwe! thanks for the kind words! modalfy's modals are rendered via javascript while react native's modal is actually using the native platform modal (that's also the reason why you can only render 1 at a time for instance). that's why modalfy's modal are rendered underneath. so my suggestion would be to fully migrate to modalfy if possible.