-
Notifications
You must be signed in to change notification settings - Fork 28.5k
Android zoom page transition display scrim in an odd position when there are nested navigators. #116127
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
Comments
cc @Hangyujin may be a good one to looking into navigator and animation. |
maybe a simple fix would be to detect if the last route is being pop'd and elide the scrim in that case |
@jonahwilliams could you elaborate more on this issue? I tried to build and run the demo app, but didn't observe something weird to me, am I missing something? |
Running the given code sample the grey scrim is fully visible when pushing a new Route, is it the issue reported here? Enregistrement.de.l.ecran.2022-12-01.a.15.42.12.movIt seems to happen because the pages content ( Here is a screen recording with a green background for Enregistrement.de.l.ecran.2022-12-01.a.16.12.35.movIt seems to work as intended, am I missing something? |
I am also hitting this issue in #126682. This bug seems to happen in any transition builder passed into
It's very annoying on Android because it causes the status bar to re-render in white and black (check video #126682), greatly affecting the fidelity and making any Flutter app feel non-native and unprofessional. |
Any updates? It's a bit inconvenient that this common workflow makes default transitions bug out. |
This issue is assigned but has had no recent status updates. Please consider unassigning this issue if it is not going to be addressed in the near future. This allows people to have a clearer picture of what work is actually planned. Thanks! |
This issue was assigned to @Hangyujin but has had no status updates in a long time. To remove any ambiguity about whether the issue is being worked on, the assignee was removed. |
For now the simplest workaround for this issue that I saw is to wrap the page widget that is 'pushed' into
Any better solutions? |
A PR was filed to address this issue, but it was not completed. If anyone would like to work on this, starting with #139078 and addressing the feedback would be a great place to start. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Run on Android and tab between PageOne and PageTwo, notice the scrim darkens the screen in an unexpected manner. b/260364434
The text was updated successfully, but these errors were encountered: