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

[Bug] Floating SnackBar presented off screen #217

Open
albertms10 opened this issue Mar 5, 2023 · 0 comments
Open

[Bug] Floating SnackBar presented off screen #217

albertms10 opened this issue Mar 5, 2023 · 0 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed
Milestone

Comments

@albertms10
Copy link
Owner

Describe the bug

════════ Exception caught by rendering library ═════════════════════════════════
The following assertion was thrown during performLayout():
Floating SnackBar presented off screen.

A SnackBar with behavior property set to SnackBarBehavior.floating is fully or partially off screen because
some or all the widgets provided to Scaffold.floatingActionButton, Scaffold.persistentFooterButtons and
Scaffold.bottomNavigationBar take up too much vertical space.

Consider constraining the size of these widgets to allow room for the SnackBar to be visible.

The relevant error-causing widget was
Scaffold

To Reproduce

Steps to reproduce the behavior:

  1. Start the app
  2. Go to the Bookings page
  3. Create a new Booking
  4. See the error

Expected behavior

The SnackBar is visible after creating the booking.

System information

  • Device: MacBook Pro
  • OS: macOS 13.2.1
  • Flutter version: 3.7.6
@albertms10 albertms10 added bug Something isn't working help wanted Extra attention is needed labels Mar 5, 2023
@albertms10 albertms10 added this to the Version 0.9 milestone Mar 5, 2023
@albertms10 albertms10 self-assigned this Mar 5, 2023
@albertms10 albertms10 changed the title [Bug] Issue title [Bug] Floating SnackBar presented off screen Mar 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant