You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a mobile device the ActionMenu opens in a tray. When a user selects a menu item in the tray a single change event should be dispatched that reflects the selection.
Actual behavior
When using a mobile device the ActionMenu opens in a tray. When a user selects a menu item in the tray we are observing multiple change events being dispatched. The multiple change events is intermittent. The following sandbox: https://studio.webcomponents.dev/edit/JciavEjTy2VT17fMD1Rp/src/index.ts?p=stories can reliably reproduce the behavior on iOS touch devices and simulator. The behavior is not reproduced using a simple browser emulator.
Screenshots
Screen.Recording.2024-05-15.at.8.54.42.AM.mov
What browsers are you seeing the problem in?
Safari
How can we reproduce this issue?
Use an iOS simulator or real device (v17.2, v17.4)
@Rajdeepc I see the double change event issue in Android with Samsung devices. With the Samsung device it may be conflated with this issue: #4460 where the ActionMenu does not pop into a tray. For other Android devices like Google Pixel I don't see the double change event and the ActionMenu opens in a tray as expected.
Code of conduct
Impacted component(s)
ActionMenu, Tray
Expected behavior
When using a mobile device the ActionMenu opens in a tray. When a user selects a menu item in the tray a single
change
event should be dispatched that reflects the selection.Actual behavior
When using a mobile device the ActionMenu opens in a tray. When a user selects a menu item in the tray we are observing multiple
change
events being dispatched. The multiple change events is intermittent. The following sandbox: https://studio.webcomponents.dev/edit/JciavEjTy2VT17fMD1Rp/src/index.ts?p=stories can reliably reproduce the behavior on iOS touch devices and simulator. The behavior is not reproduced using a simple browser emulator.Screenshots
Screen.Recording.2024-05-15.at.8.54.42.AM.mov
What browsers are you seeing the problem in?
Safari
How can we reproduce this issue?
Sample code that illustrates the problem
Logs taken while reproducing problem
No response
The text was updated successfully, but these errors were encountered: