Treat up-swipe as a close regardless of container height
When the user doesn't swipe, the container is animated open or closed based on the final height from dragging upon gesture end. Previously, only down-swipes were treated specially: swiping down fast enough opened the container regardless of its height. This treats swiping up specially too, causing the container to close. Bug: None Change-Id: I7555e00dbddb21128175d36a2209139c15cf52d0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2128968 Commit-Queue: Collin Baker <collinbaker@chromium.org> Reviewed-by:dpapad <dpapad@chromium.org> Cr-Commit-Position: refs/heads/master@{#755129}
Showing
Please register or sign in to comment