chore: prevent scrolling within 4 pixel area where header overflow could cause unwanted scroll (#3710)

This commit is contained in:
ggurdin 2025-08-13 09:13:41 -04:00 committed by GitHub
parent 9016a41c9f
commit 60d4c5d526
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -340,7 +340,7 @@ class MessageSelectionPositionerState extends State<MessageSelectionPositioner>
screenHeight - _originalMessageOffset.dy - originalContentHeight;
final neededSpace =
boxHeight + _fullContentHeight + mediaQuery!.padding.top;
boxHeight + _fullContentHeight + mediaQuery!.padding.top + 4.0;
if (neededSpace > screenHeight) {
boxHeight =