Open
Description
Code of conduct
- I agree to follow this project's code of conduct.
Impacted component(s)
sp-picker, sp-overlay, sp-popover
Expected behavior
When an sp-picker
is rendered within a popover, it should work the same as it would when it is not rendered within a popover.
Actual behavior
On Safari
, when an sp-picker
is rendered within a popover, when I want to navigate using the up/down arrow keys through the picker options, the active option is not highlighted. If I navigate 2 options down, pressing Space
changes the selection correctly, but the active option (2 options down) does not become highlighted after pressing the down arrow keys. The first option remains highlighted.
Screenshots
No response
What browsers are you seeing the problem in?
Safari
How can we reproduce this issue?
- Open this example on Safari: https://stackblitz.com/edit/vitejs-vite-cxzhjfdh?file=src%2Fpicker-in-popover.ts
- Navigate to the "Overlay Trigger" button by tabbing.
- Press
Space
to open the overlay. - Tab to focus the
sp-picker
- Press
Space
to open the picker options - Use the Up/Down arrow keys to navigate through the picker options and observe.
Sample code or abstract reproduction which illustrates the problem
https://stackblitz.com/edit/vitejs-vite-cxzhjfdh?file=src%2Fpicker-in-popover.ts
No response
Severity
None
Logs taken while reproducing problem
No response
Would you like to track this issue in Jira?
- Yes, please tell me the ticket number!