v3.5.1
Android
This release includes a major internal refactor of the Android implementation, replacing DialogFragment with CoordinatorLayout for better control and stability.
Bug Fixes
- Fixed parent stacking after rn-screen dismissed
- Fixed dragging on parent sheet when child is stacked
- Improved dim tap handling for stacked sheets
- Fixed collapse to lowest detent on back press when non-dismissible
- Fixed collapse to lowest detent on dim tap when non-dismissible
- Fixed sheet fading before hiding when rn-screen modal shows
- Fixed content clipping to rounded corners on older API levels
- Fixed bottom sheet centering horizontally on rotation
- Fixed sheet reshowing when returning from background with rn-screens
- Fixed dismiss animation on back button press
- Fixed footer positioning on API < 30
- Fixed grabber hitbox causing touch issues (#340)
- Fixed sheet position during non-animated present
- Fixed stacked sheet translation on dismiss
- Fixed translation on initialDetentIndex present
- Fixed initial present on older Android versions
- Fixed halfExpandedRatio bounds validation
Refactors
- Replaced
DialogFragmentwithCoordinatorLayout(#344) - Reorganized
TrueSheetViewControllerand removed duplications
iOS
Refactors
- Updated
TrueSheetDetentCalculatorto use delegate pattern
Full Changelog: v3.5.0...v3.5.1