-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Description
Current behaviour
On web and Android, the Modal component respects the state of the keyboard, adjusting it's height accordingly. On iOS, however, the Modal does not move up when the keyboard is opened.
This issue is likely related to 2172
Expected behaviour
The Modal component should respect the positions of the keyboard and respond accordingly on all platforms.
How to reproduce?
- Add a Modal component inside a Portal component.
- Add content to the Modal component and open the Modal.
- Open the device on-screen keyboard on an iOS device.
- Notice how the Modal doesn't respond (move up) to accommodate the keyboard, even though there is empty space available above the modal.
Preview
What have you tried so far?
We're currently following the workaround listed here.
Your Environment
| software | version |
|---|---|
| ios | x |
| android | x |
| react-native | 0.71.14 |
| react-native-paper | 5.11.2 |
| node | 20.9.0 |
| npm or yarn | 10.1.0 |
| expo sdk | 48.0.20 |
Bi0max

