Skip to content
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

Fix the Safe area conflict for material controls in Android #815

Merged

Conversation

MadGeorge
Copy link

@MadGeorge MadGeorge commented Feb 14, 2024

The issue:

When a player widget is used inside a scaffold with extendBodyBehindAppBar set to true on a Scaffold, the progress bar and the fullscreen button go out of the player bounds which breaks the layout and makes them inaccessible for a user's input.

Example from real app:

extendBodyBehindAppBar: true, controls are falling down

extendBodyBehindAppBar: false, controls are fine, but we need the content of the screen go under the app bar

extendBodyBehindAppBar: true, and the fix from PR
This is how it should work.

If I got it right the issue is Android/Fucsia related, since MaterialControls do not used for others. This was not tested on Fucsia.

Copy link
Collaborator

@diegotori diegotori left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@diegotori diegotori merged commit 99000b8 into fluttercommunity:master Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants