Expected Behaviour
You can type in a Dialog in a Table.
Actual Behaviour
Table's Row with the typed value is focused.
Reproduce Scenario (including but not limited to)
- Create a Table with Height value
- Add Rows until the table has a scroll bar
- Add a Dialog to Rows
- Open a Dialog and type a letter which would focus outside of the currently viewable rows
Steps to Reproduce
https://codesandbox.io/s/react-spectrum-table-focus-yk8kq2?file=/src/App.tsx
Using the above link:
- Make the window's height small enough so only "John Doe" rows are visible.
- Click "Add" button"
- Type any letter (Not "J").
Platform and Version
Tested in @adobe/react-spectrum 3.20 - 3.24.1
On Mac - Safari, Chome, Firefox
On Windows 10 - Edge, Chrome, Firefox
Sample Code that illustrates the problem
https://codesandbox.io/s/react-spectrum-table-focus-yk8kq2?file=/src/App.tsx
Logs taken while reproducing problem
N/A
Expected Behaviour
You can type in a Dialog in a Table.
Actual Behaviour
Table's Row with the typed value is focused.
Reproduce Scenario (including but not limited to)
Steps to Reproduce
https://codesandbox.io/s/react-spectrum-table-focus-yk8kq2?file=/src/App.tsx
Using the above link:
Platform and Version
Tested in @adobe/react-spectrum 3.20 - 3.24.1
On Mac - Safari, Chome, Firefox
On Windows 10 - Edge, Chrome, Firefox
Sample Code that illustrates the problem
https://codesandbox.io/s/react-spectrum-table-focus-yk8kq2?file=/src/App.tsx
Logs taken while reproducing problem
N/A