Android: Minimium swipable state for opening bottom sheets
BottomSheet triggers onSheetOpened event when the sheet offset goes beyond the height of the minimum swipable state which depends on |swipeToDissmissEnabled|. The method is mainly used for the transition from open to closed state. When transitioning from hidden to open, the minimum swipable state needs to take |isPeekStateEnabled| since even dismissable sheet can have the peek state when opening. Bug: 1014730 Change-Id: I46f4f8edaf7693d9ae4b6fe00a23d635baaa4d4d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1868211 Commit-Queue: Jinsuk Kim <jinsukkim@chromium.org> Reviewed-by:Matthew Jones <mdjones@chromium.org> Cr-Commit-Position: refs/heads/master@{#708121}
Showing
Please register or sign in to comment