react-native-portalize
react-native-portalize copied to clipboard
Making other portals above than the others
If I call <Portal>
on multiple components, there's a tendency for some components to be above than the other components, but what if I want to be able to order them, like <Portal priority={1}>
the higher the number provided the higher it is on the stack, so that priority={10}
is on top of priority={9}
.
hi @aprilmintacpineda , may I ask if you have fixed or any solution regarding this? thanks
hi @aprilmintacpineda , may I ask if you have fixed or any solution regarding this? thanks
Hi, sorry but I didn't have any.
Hi @calz10 @aprilmintacpineda @jeremybarbet Any solution yet for this issue?
Hi @calz10 @aprilmintacpineda @Mursivic Any solution for this?
Staking Host it self works for me
<Host> // <-------- H1
<Stack
screenOptions={{
headerShown: false,
}}
/>
</Host>
<Host style={{ position: 'absolute' }}> / /<-------- H2
<Portal key={1}>
<Toast config={toastConfig} position="top" />
</Portal>
</Host>
Sad to see that until today this still hasn't been attended to, maybe there's just not enough requests for it. Also it looks like RN-Portalize is not longer maintained.