Skip to content

v0.18.0-next.5

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 09 Nov 16:58
e152c65

Overview

Changes

  • Added settleDuration to BottomSheet and ModalBottomSheet to control how long the sheet takes to settle at a detent. It accepts a finite number greater than 0, in seconds. The default is 0.45 seconds on iOS, Android, and web. Android previously settled in about 0.2 seconds.
  • Improved detent selection on all platforms. A gentle swipe up or down can now reach the next detent before crossing the midpoint. If you pause before lifting your finger, the sheet snaps to the nearest detent.
  • Improved fast flicks on all platforms. The sheet carries its release speed toward the target detent and can arrive before settleDuration without overshooting. Animations that start from rest, such as programmatic index changes, take the full duration.