Skip to content

[Bug] Floating SnackBar presented off screen #217

@albertms10

Description

@albertms10

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinghelp wantedExtra attention is needed

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions