BlazorContextMenu icon indicating copy to clipboard operation
BlazorContextMenu copied to clipboard

Support touch devices by changing to pointer events

Open KristofferStrube opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe. When using touch devices the context menu can't be hidden/closed by pressing outside the context menu as that uses events specific to a mouse.

Describe the solution you'd like The places that mouse events are explicitly used we can change to using pointer-events instead. pointer-events are an event type that supports both mouses, touch input, and other pointer types and should not change the existing behaviour for mouse usage.

Additional context I would like to make a PR for this.

KristofferStrube avatar Jun 30 '22 16:06 KristofferStrube