bamlab / bamlab/react-native-screen-sizer
Modals are not supported by the ScreenSizer
- Dominant language
- TypeScript
- Stars
- 22
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
## Issue Description
Modals are not reduced in size when the ScreenSizer
## Steps to Reproduce (If applicable)
Use a simple react-native modal
```tsx
export default function App() {
const [modalVisible, setModalVisible] = React.useState(false);
return (
ScreenSizer Demo Application
ScreenSizer.toggleScreenSizer()}
title="Toggle Screen Sizer"
/>
setModalVisible(true)} title="open modal" />
setModalVisible(false)}
title="close modal"
/>
);
}
```
## Expected Behavior
The modal should be contained inside the frame generated by the wrapper.
## Actual Behavior
Contributor guide
Assessment
This issue has not been assessed yet.