chore: prevent scrolling within 4 pixel area where header overflow could cause unwanted scroll (#3710)
This commit is contained in:
parent
9016a41c9f
commit
60d4c5d526
1 changed files with 1 additions and 1 deletions
|
|
@ -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 =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue