[Bug]: (Mobile) Tapping on sp-menu-item in sp-menu will also tap on element underneath #5114
Open
1 task done
Labels
bug
Something isn't working
Component: Menu
jira ticket created
Mobile
triage
An issue needing triage
Code of conduct
Impacted component(s)
sp-menu, sp-menu-item
Expected behavior
On mobile, while having the following rendering logic:
sp-menu
that is rendered conditionallysp-checkbox
that is rendered conditionally, in the place of thesp-menu
, after ansp-menu-item
is tappedBy tapping on the
sp-menu-item
, the tap event should not propagate to the checkbox underneath.Actual behavior
By tapping on the
sp-menu-item
, the tap event is propagated to the checkbox underneath, and it becomes checked right after being rendered.Screenshots
No response
What browsers are you seeing the problem in?
Chrome, Safari
How can we reproduce this issue?
MenuTapEvent.mov
You can reproduce the issue on: https://studio.webcomponents.dev/edit/2oibVYTXHpdxV0KB302m/src/index.ts?p=stories
Sample code or abstract reproduction which illustrates the problem
No response
Severity
SEV2
Logs taken while reproducing problem
No response
The text was updated successfully, but these errors were encountered: