Repository navigation
v0.18.0-next.5
Pre-release
Pre-release
Overview
- external contributors: @NicholasBoccuzzi
Changes
- Added
settleDurationtoBottomSheetandModalBottomSheetto control how long the sheet takes to settle at a detent. It accepts a finite number greater than0, in seconds. The default is0.45seconds on iOS, Android, and web. Android previously settled in about0.2seconds. - 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
settleDurationwithout overshooting. Animations that start from rest, such as programmaticindexchanges, take the full duration.