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.
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.