adrielcafe / voyager

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

Double Navigation Bar Issue. #439

Open KhubaibKhan4 opened 2 months ago

KhubaibKhan4 commented 2 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 2 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.