[Bug]: Sp-popover from Sp-picker closes when attempting to scroll through menu items #4968
Closed
1 task done
Labels
bug
Something isn't working
Component: Overlay
Component: Picker
Component: Popover
jira ticket created
triage
An issue needing triage
Code of conduct
Impacted component(s)
Sp-picker
Expected behavior
User should be able to scroll through options from popover dropdown
Actual behavior
popover will close when user attempts to scroll.
Not browser specific. Happens for Sp-pickers hosted within express quick action dialogs. The issue is especially bad on iPad which seems to be related to how a "touch" behavior is handled in the spectrum code. From my debugging, the closing is coming from here in PlacementController.ts. I haven't been able to repro the issue on the simulator but the only fix i've found is changing the display of the sp-popover from inline-flex to something not flex like block or inline and adding and "overflow: auto".
Screenshots
Screen.Recording.2024-12-02.at.11.30.14.AM.mov
What browsers are you seeing the problem in?
Chrome, Safari
How can we reproduce this issue?
Sample code or abstract reproduction which illustrates the problem
No response
Severity
SEV 1
Logs taken while reproducing problem
No response
The text was updated successfully, but these errors were encountered: