Description
Additional information: #6405 shows that this is not only limited to full screen dialogs, but modal experiences in general.
Provide a general summary of the issue here
we noticed that using the example from https://react-spectrum.adobe.com/react-aria/useDialog.html causes issues when creating a full screen dialog where an input is at the bottom of the dialog, it's impossible to see the input, the keyboard covers it, it only happens on iOS, old and new safari versions. we tried using radix dialog and it works properly so it seems some internal logic of react-aria.
Screen.Recording.2024-02-22.at.2.16.30.PM.mov
π€ Expected Behavior?
the dialog should leave the browser to focus the input and "fix" by itself the keyboard covering.
π― Current Behavior
the keyboard covers the input and it's impossible to scroll down, the dialog scrolls up when trying it.
π Possible Solution
no sure
π¦ Context
No response
π₯οΈ Steps to Reproduce
- Open this codesandbox, it uses react aria and radix, same styling.
- Click on Open React aria dialog and select input at the bottom of the dialog and the keyboard will cover the input and it won't zoom correctly.
- Try the same with Radix and it won't happen
Version
3.32.1
What browsers are you seeing the problem on?
Safari
If other, please specify.
No response
What operating system are you using?
iOS
π§’ Your Company/Team
No response
π· Tracking Issue
No response
Metadata
Metadata
Assignees
Type
Projects
Status