Closed jlchereau closed 7 months ago
Note that the documentation at https://docs.telerik.com/kendo-ui/api/javascript/ui/contextmenu/configuration/showon says: Could be any pointer/mouse/touch event, also several, separated by spaces.
But the _wire function at https://github.com/telerik/kendo-ui-core/blob/master/src/kendo.menu.js#L2597 does:
target.on(options.showOn + NS + that._marker, options.filter, that._showProxy);
if the value of showOn is click touchstart
, the value of options.showOn + NS + that._marker is something like click touchstart.kendoMenufeb28602
and only the last event gets a namespace.
Hi, Is there any fix for this issue
The ContextMenu opens in the provided example. The issue probably occurs because the filter of the component is element and you need to click on a specific place. Tested on iPhone in Chrome and Safari;
The code snippet provided above was tested in this Dojo example with Kendo v2023.3.1114 on Android and iOS devices. As the menu opens regardless of the device/browser, we are closing the issue until further information is provided to reproduce it.
Bug report
I need a context menu to show when clicking/tapping a button for each item of a listview as documented at https://docs.telerik.com/kendo-ui/api/javascript/ui/contextmenu/configuration/showon.
https://dojo.telerik.com/aRIkufEl - dojo for reproduction
This context menu is configured as follows:
It works fine on mouse devices including Chrome 75 on Windows 10.
It fails to show when switching to touch device emulation on Chrome 75 on Windows 10.
None of the following works either:
Reproduction of the problem
Current behavior
Context menu does not show on touch devices (Chrome 75 emulation) when configured with left click
Expected/desired behavior
Context menu should show on touch devices when configured with left click (Chrome 75 emulation)
Environment