react-native-portalize icon indicating copy to clipboard operation
react-native-portalize copied to clipboard

Making other portals above than the others

Open aprilmintacpineda opened this issue 2 years ago • 6 comments

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}.

aprilmintacpineda avatar Jul 25 '21 09:07 aprilmintacpineda

hi @aprilmintacpineda , may I ask if you have fixed or any solution regarding this? thanks

calz10 avatar Oct 29 '21 15:10 calz10

hi @aprilmintacpineda , may I ask if you have fixed or any solution regarding this? thanks

Hi, sorry but I didn't have any.

aprilmintacpineda avatar Oct 30 '21 03:10 aprilmintacpineda

Hi @calz10 @aprilmintacpineda @jeremybarbet Any solution yet for this issue?

Mursivic avatar Mar 02 '22 17:03 Mursivic

Hi @calz10 @aprilmintacpineda @Mursivic Any solution for this?

brugaspar avatar Aug 05 '23 16:08 brugaspar

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>

sourabhLX avatar Nov 29 '23 13:11 sourabhLX

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.

aprilmintacpineda avatar Nov 29 '23 14:11 aprilmintacpineda