diff --git a/lib/pangea/toolbar/widgets/message_selection_positioner.dart b/lib/pangea/toolbar/widgets/message_selection_positioner.dart index 80fe813aa..2e72fce4d 100644 --- a/lib/pangea/toolbar/widgets/message_selection_positioner.dart +++ b/lib/pangea/toolbar/widgets/message_selection_positioner.dart @@ -422,7 +422,8 @@ class MessageSelectionPositionerState extends State double newBottomOffset = _mediaQuery!.size.height - _originalMessageOffset.dy + difference - - _originalMessageSize.height; + _originalMessageSize.height - + _selectionButtonsHeight; if (newBottomOffset < _footerHeight + AppConfig.toolbarSpacing) { newBottomOffset = _footerHeight + AppConfig.toolbarSpacing; @@ -609,7 +610,8 @@ class MessageSelectionPositionerState extends State maxHeight: _mediaQuery!.size.height - _headerHeight - _footerHeight - - AppConfig.toolbarSpacing * 2, + AppConfig.toolbarSpacing * 2 - + _selectionButtonsHeight, readingAssistanceMode: _readingAssistanceMode, ), ), @@ -682,7 +684,8 @@ class MessageSelectionPositionerState extends State maxHeight: _mediaQuery!.size.height - _headerHeight - _footerHeight - - AppConfig.toolbarSpacing * 2, + AppConfig.toolbarSpacing * 2 - + _selectionButtonsHeight, readingAssistanceMode: _readingAssistanceMode, ), if (showSelectionButtons)