SebastienBtr/Dash-Chat-2

[Bug] DashChat widget without AppBar clips the message list

Closed this issue · 1 comments

Describe the bug

When not using an AppBar in the Scaffold the message list view clips at the bottom. Please see video.

To Reproduce

Steps to reproduce the behavior:

  1. Add a scaffold.
  2. Do not add an AppBar to the Scaffold.
  3. Add DashChat widget to scaffold body and add enough messages so you can scroll.
  4. See when you scroll at the bottom of the messages view it clips before reaching the bottom.

Expected behavior
List should reach the top of the input body.

Screenshots

Simulator.Screen.Recording.-.iPhone.14.Pro.-.2023-03-22.at.13.59.25.mp4

I wrapped the components in a containers and colored them to show the excess space the input box is taking up.

simulator_screenshot_E612EC9C-6EB0-4AD6-B555-4ACCE0A150D6

Environment

  • OS: Mac
  • Device: iOS Emulator
  • Language Version: Flutter 3.7.7
  • Software/library Version 0.0.15

Additional context

Let me know if you need any more information this is a pretty easy one to replicate.

See PR for fix #42