You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: move setting default values of medium-detent related props to InnerScreen (#1811)
## Description
Default values for medium-detent related props were set only in
`NativeStackView` so only in case user used native stack directly from
`react-native-screens`. This led to buggy behaviour when
`@react-navigation/native-stack` was in use.
See conversation:
#1686 (comment)
## Changes
Default prop values are now set in `InnerScreen` in `index.native.tsx`
which is used internally by `@react-navigation/native-stack` package.
# Test case
See conversation:
#1686 (comment)
(and below).
Use `stackPresentation: 'formSheet'` with native stack from
`@react-navigation/native-stack` and see that the modal is opened by
default to full height.
## Checklist
- [x] Ensured that CI passes
0 commit comments