tabby icon indicating copy to clipboard operation
tabby copied to clipboard

[Web] Context menu in terminal area immediately closes

Open yume-chan opened this issue 1 year ago • 0 comments

Describe the problem: On Web, when set right click to context menu, the context menu opens when mouse right button is down, but immediately closes itself when the button is released.

To Reproduce: This can be reproduced on homepage (https://tabby.sh/)

  1. Set "Settings > Terminal > Right click" to "Context menu"
  2. Right click in terminal area

Terninal tab context menu opens on mouse right button release so it stays open.

The vaadin-context-menu used here has a contextmenu event listener that caused this behavior.

https://github.com/vaadin/web-components/blob/03fbf19d6338bce8545c2c75ac2964a0ce140a53/packages/context-menu/src/vaadin-context-menu.js#L477-L484

yume-chan avatar Apr 23 '23 10:04 yume-chan