⚠️ Breaking changes
🎉 New features
- iOS: Enable synchronous state update for RN 0.82+. (#505, #507 by @lodev09)
- Added
maxContentWidthprop to control the maximum width of the sheet content. (#495 by @lodev09) - Added
anchorandanchorOffsetprops for side sheet positioning. (#496, #500 by @lodev09)
🐛 Bug fixes
- iOS: Fixed crash and blank sheet when using Reanimated exiting animations. (#493 by @lodev09)
- Android: Fixed default background color not respecting dark mode on AppCompat-based apps. (#501 by @lodev09)
- Web: Fixed default background color not respecting dark mode. (#502 by @lodev09)
- iOS: Fixed main thread deadlock when keyboard events fire while sheet is mounted. (#506 by @lodev09)
- Android: Fixed stale nested scrolling ref blocking drag after dismissing a child sheet with a ScrollView. (#523 by @lodev09)
- Android: Fixed keyboard detent not committing on scroll, causing sheet to snap back when keyboard hides. (#525 by @lodev09)
- iOS: Fixed thread blocking on gesture dismissal when sheet is presented in a stack. (#511 by @lodev09)
- Android: Fixed keyboard not dismissing when sheet is dragged to a non-keyboard detent position. (#513 by @lodev09)
- Android: Added guard and warning to prevent dismiss events for a sheet that is not presented. (#516 by @codydorsettlynn)