Skip to content

[Bug]: Menu items in action menus do not dispatch click events on tablets #5706

@lehelen19

Description

@lehelen19

Code of conduct

  • I agree to follow this project's code of conduct.

Impacted component(s)

sp-action-menu, sp-menu-item

Library version

1.7.0

Expected behavior

When we click on a menu item on an iPad device, it should dispatch a click event.

Example:
Clicking on the menu item should change the background color.

Screen.Recording.2025-08-20.at.1.51.24.PM.mov

Actual behavior

A click event is never dispatched when we click on a menu item on iPad, and the click handler is never run unless the menu item is wrapped in a menu group.

The pointerdown and pointerup events are dispatched as expected.

Example:
The first menu item is not in a menu group. Clicking on it does nothing.
The second menu item is in a menu group, and clicking on it changes the background color.

Screen.Recording.2025-08-20.at.1.50.56.PM.mov

Screenshots

No response

What browsers are you seeing the problem in?

No response

How can we reproduce this issue?

  1. Go to https://stackblitz.com/edit/vitejs-vite-yrinbssn?file=src%2Fmy-element.ts to view the code
  2. Change the screen to be iPad Mini
  3. Click on the menu items and observe

Sample code or abstract reproduction which illustrates the problem

No response

Severity

SEV 2

Logs taken while reproducing problem

No response

Would you like to track this issue in Jira?

  • Yes, please tell me the ticket number!

Metadata

Metadata

Assignees

Labels

Status: WIPPR is a work in progress or draftbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions