cabin_booking icon indicating copy to clipboard operation
cabin_booking copied to clipboard

[Bug] Floating SnackBar presented off screen

Open albertms10 opened this issue 1 year ago • 0 comments

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 avatar Mar 05 '23 19:03 albertms10