[Bug] Rouge padding on bottom of MessageList / ListView.builder
Closed this issue · 0 comments
LegendAF commented
Describe the bug
There is a rogue padding at the bottom of the ListViewBuilder. It looks to be added from the SilverPadding.
See: https://api.flutter.dev/flutter/widgets/ListView-class.html
"By default, ListView will automatically pad the list's scrollable extremities to avoid partial obstructions indicated by MediaQuery's padding. To avoid this behavior, override with a zero padding property."
This also leads to un wanted jumping when coming in and out of the input as there is no padding added when focused in the input.
To Reproduce
Steps to reproduce the behavior:
- Spin the example app up
- Go to basic example
- Observe extra padding at the bottom of the list
Expected behavior
No extra padding to be on the bottom of the list.
RPReplay_Final1675419428.MP4
Screenshots
Broken:
RPReplay_Final1675419451.MP4
Environment
- OS: Mac
- Device: iPhone 14 Pro
- Flutter Version: 3.7
- Software/library Version: latest
Additional context
I opened a PR to fix this: #38