-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Root BackHandler
possible bug
#1580
Comments
Managed to write a test case that fails : 0e7467e |
This is such a weird bug. The code enters an infinite loop between the |
Tried the workaround but it doesn't seem to fix anything. My issue is not when root ui is present on screen but when |
If you check the layout inspector, do you see both screens in the hierarchy? |
Looked into layout inspector and not seeing the |
Having an issue in the following scenario. The root screen sometimes has a
BackHandler
like so:At some point
ScreenA
is pushed to the backstack which has the following logic in its presenter:Effectively I want
ScreenA
to pop and to pushScreenB
. Tapping android back button inScreenB
callsBackHandler
onRootUi
from my testing even thought it's not visible on the screen. RemovingBackHandler
navigation logic works as expected and navigates back toScreenRoot
.The text was updated successfully, but these errors were encountered: