Description
There's no ability to pass modal props to the Hint component and this causes an issue with my app due to needing to add supportedOrientations
Related to
Steps to reproduce
- Set up an app that is locked to landscape. For example in expo set this value in your app config:
orientation: "landscape"
- Add a hint component that uses a modal. This happens to me as long as I provide the prop
onBackgroundPress i.e. I don't need to pass useModal to get this error
- On dismissing the hint, see the following error
Expected behavior
Allow passing modalProps, similar to the Dialog component
Environment
expo: ~54.0.25
react-native-ui-lib: 8.2.2
uilib-native: 5.0.1
Affected platforms
Description
There's no ability to pass modal props to the Hint component and this causes an issue with my app due to needing to add
supportedOrientationsRelated to
Steps to reproduce
orientation: "landscape"onBackgroundPressi.e. I don't need to passuseModalto get this errorExpected behavior
Allow passing modalProps, similar to the Dialog component
Environment
expo: ~54.0.25
react-native-ui-lib: 8.2.2
uilib-native: 5.0.1
Affected platforms