bamlab / bamlab/react-native-screen-sizer

Modals are not supported by the ScreenSizer

Open
#18 1 comment 0 reactions 0 assignees View on GitHub
good first issue
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.