-
Notifications
You must be signed in to change notification settings - Fork 76
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 |
Is this only specific to gesture nav? |
Yes. |
Hi, I think I'm facing the same issue? I'm new to Circuit, just followed the tutorial (multiplatform) with no extras. On Android, after navigating from the root screen to another one, pressing system back doesn't pop it, and instead runs the I haven't changed the default decoration or anything. The device I test on is an Android 10 emulator (no predictive back there, nor do I have it enabled in Hope this gets fixed soon! |
I put a Another note: The navigation-specific docs also seem to be outdated, still using a I guess I'll just create |
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: