⚠️ Breaking changes
🎉 New features
- iOS: Enable synchronous state update for RN 0.82+. (#505, #507 by @lodev09)
- Web: Added
detachedanddetachedOffsetprops for floating card mode. (#527 by @lodev09) - Navigation: Added missing sheet props and fixed event handler spread order. (#526 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)
- iOS: Fixed main thread deadlock when keyboard events fire while sheet is mounted. (#506 by @lodev09)
- iOS: Fixed thread blocking on gesture dismissal when sheet is presented in a stack. (#511 by @lodev09)
- iOS: Fixed FlashList content not rendering while dragging sheet. (#539 by @lodev09)
- Android: Fixed default background color not respecting dark mode on AppCompat-based apps. (#501 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)
- 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)
- Android: Fixed children not taking full width and height due to state wrapper assignment order. (#531 by @lodev09)
- Android: Fixed scroll drag workaround not applying for non-scrollable sheets containing a ScrollView. (#538 by @lodev09)
- Web: Fixed default background color not respecting dark mode. (#502 by @lodev09)
- iOS, Android: Fixed
autodetent height staggering on content change due to Yoga layout feedback loop. (#537 by @lodev09)
📖 Documentation
💡 Others
- Performance improvements across JS, iOS, and Android. (#521 by @lodev09)
- Use codegen enums for
backgroundBlur,anchor, andinsetAdjustmentprops. (#499 by @lodev09) - Replace
react-native-mapswith@lugg/mapsin examples. (#503 by @lodev09)
New Contributors
- @ynshung made their first contribution in #520
- @codydorsettlynn made their first contribution in #516
- @arifali123 made their first contribution in #533
Full Changelog: v3.8.2...v3.9.0