You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c9b425f
Browse filesBrowse the repository at this point in the historyBrowse files
fix(BottomSheet): a swipe that starts slowly on content that fits moves the sheet
On a touch screen, a touch on a sheet whose content fits arms both scroll
edges. A first move of 8 px or less disarmed both edges, so the pull never
reached the sheet: the sheet stayed open, or jumped a few pixels and fell
back. A fast swipe, or a swipe on the grab bar, still worked.
An edge now goes back to the native scroll only when the content has room
to scroll that way. Content that fits has nothing to scroll, so both edges
stay armed until the pull passes the drag slop. A list that scrolls keeps
its rule.
[fix] BottomSheet: on a touch screen, a swipe that starts slowly on a sheet whose content fits now moves the sheet, so a slow swipe down can close it. Before, when the finger's first move was 8 px or less, in either direction, the sheet stopped answering that swipe: it stayed open, or moved a few pixels and fell back. Fast swipes and swipes on the grab bar already worked. The fix applies wherever the touched content has nothing to scroll: a sheet whose content fits, and the fixed header or footer around a list. That includes the PowerSearch and Tokenizer sheets. A list that scrolls keeps its behavior.
0 commit comments