adrielcafe / voyager

🛸 A pragmatic navigation library for Jetpack Compose
https://voyager.adriel.cafe
MIT License
2.59k stars 138 forks source link

Double Navigation Bar Issue. #439

Open KhubaibKhan4 opened 5 months ago

KhubaibKhan4 commented 5 months ago

I'm working on a Project where, I implemented bottom navigation using Voyager. The issue is, When I go to ProfileTab > Setting Screen > Logout. When I click on logout & try to login again. I see two bottom Navigation bars. Screenshot 2024-06-06 102929

For reference of the above error. Checkout this repository: https://github.com/KhubaibKhan4/MindinMotion-KMP

Any Solution for this error?

nvkleban commented 4 months ago

My best guess that you're using nested navigator instead of root navigator from your current tab to do Logout -> Login -> Main and you end up opening one more Main Screen inside of one of the Main Tabs.