TonyGermaneri / canvas-datagrid

Canvas based data grid web component. Capable of displaying millions of contiguous hierarchical rows and columns without paging or loading, on a single canvas element.
BSD 3-Clause "New" or "Revised" License
1.44k stars 186 forks source link

Control-click auto-closes context menu in Safari (desktop) #521

Open nbhargava opened 2 years ago

nbhargava commented 2 years ago

Expected behavior and actual behavior.

When control-clicking on Safari, the context menu immediately appears and then disappears. The expectation is that it should have the same behavior as in other browsers, which is to say that the context menu should remain open on control-click.

Steps to reproduce the problem.

Go to https://canvas-datagrid.js.org/demo.html in Safari on macOS and control-click to observe the behavior.

Notably, the behavior does not reproduce with two-finger click on the trackpad, just control-click.

Specifications like the version of the project, operating system, or hardware.

Safari 15.6.1 macOS 12.5.1