Home > Enterprise >  Make header position absolute
Make header position absolute

Time:10-25

I like the default back button for React Navigation's Stack navigator, but want it positioned absolutely, so the back button is overlayed in the screen and is side by side with "Text Two" .Right now, the back button is above "Text Two". How can I achieve this?

https://snack.expo.dev/@meg_hidey/lonely-chips

CodePudding user response:

You need to remove the header and add a custom back button to go back to the previous screen.

Or you can keep the header and remove the back button and add a custom back button as described previously.

  • Related