mirror of
https://github.com/material-components/material-components-android.git
synced 2026-01-29 21:05:19 +08:00
1) When touches normal child view in settling bottom sheet, the state goes to STATE_EXPANDED or STATE_COLLAPSED by SettleRunnable. It should be STATE_DRAGGING. SettleRunnable’s targetState should be ignored when settling is aborted. 2) When touches nested scroll child view in settling bottom sheet, the settling animation is not stopped. In settling state, the child view should be captured, not the nested scroll child. Fixes: https://issuetracker.google.com/issues/119289861 Test: Touch or drag the settling bottom sheet GIT_ORIGIN_REV_ID=514e20ad10aafcc6e95015d95e1efc888d93bed7 PiperOrigin-RevId: 228944484