Description:
When the ModalBottomSheet is partially expanded, scrolling the list upwards causes the sheet to move along with the list. The expected behavior is that the list should scroll normally within the partially expanded sheet, and the sheet should only be draggable by the header or other static elements, or when the end or beginning of the list is reached (depending on the direction of movement).
Steps to Reproduce:
Initialize a ModalBottomSheet with the following state:
Expand the ModalBottomSheet to the partially expanded state.
Scroll the list upwards.
Expected Behavior:
The list should scroll normally within the partially expanded sheet.
The sheet should only be draggable by the header or other static elements, or when the end or beginning of the list is reached (depending on the direction of movement).
Actual Behavior:
The sheet moves along with the list when scrolling upwards.
Description: When the
ModalBottomSheet
is partially expanded, scrolling the list upwards causes the sheet to move along with the list. The expected behavior is that the list should scroll normally within the partially expanded sheet, and the sheet should only be draggable by the header or other static elements, or when the end or beginning of the list is reached (depending on the direction of movement).Steps to Reproduce:
Initialize a
ModalBottomSheet
with the following state:Set up the initial content and the
ModalBottomSheet
as follows:ModalBottomSheet
to the partially expanded state.Expected Behavior:
Actual Behavior:
The sheet moves along with the list when scrolling upwards.
Library version: 1.11.0
https://github.com/user-attachments/assets/b18de698-2b47-4ae3-8d5d-a697941b63b8