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

Selected option occludes snack bar messages #201

Open
avishail opened this issue Aug 30, 2023 · 3 comments
Open

Selected option occludes snack bar messages #201

avishail opened this issue Aug 30, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@avishail
Copy link

Describe the bug

The selected option occludes snack bar messages. I have a single Scaffold.

WhatsApp Image 2023-08-30 at 19 22 28

Is it fixable? If I'm using a second Scaffold I was able to make the Snack bar to be on top of the convex bottom bar which is also not great according the material design principles.

@avenwu
Copy link
Contributor

avenwu commented Aug 31, 2023

It should be fixed. But... the snack bar doest not recognize our bar. I guess we can find some workaround.

@avenwu avenwu added the enhancement New feature or request label Aug 31, 2023
@avishail
Copy link
Author

avishail commented Sep 7, 2023

@avenwu, is it realistic to assume this will be fixed any time soon?

@avishail
Copy link
Author

avishail commented Sep 7, 2023

I've managed to work around it by wrapping the widget with container:

      bottomNavigationBar: Container(
        padding: EdgeInsets.only(top: 16),
        child: ConvexAppBar(
          ...
        ),
      )

but, the result is sub-optimal since I don't see content from the main screen inside the padded area.

Another workaround I found is to place a transparent 1 pixel size floating action button which the layout system will take into considerations when calculating the position of the snackbar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants