Firefox: Files in menu items (such as explorer) are opened on mouseup, not onclick #180833
Labels
bug
Issue identified by VS Code Team member as probable bug
firefox
Issues running VSCode in Web on Firefox
help wanted
Issues identified as good community contribution opportunities
list-widget
List widget issues
web
Issues related to running VSCode in the web
Milestone
Hi!
When I select a line in the editor I often start my selection from the end of the line, pressing the mouse left button and go to the beginning of the line and release the mouse button. However I go further than the beginning of the line to be quick and my cursor is on the left panel (ex: Explorer).
When I release the mouse button this triggers a mouseup event in the panel, for example an extension, which causes it to open in the editor (thus switching the active file being edited).
Example with this code:
See this gif: I select some code then release the mouse button over the "Jupyter" item in the extensions panel, which opens it on the right side.
This only happens in vscode.dev (or other web versions of it), not the desktop vscode app.
(Initially opened in gitpod-io/gitpod#10559)
Version: 1.77.3
Commit: 704ed70
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/113.0
Embedder: vscode.dev
The text was updated successfully, but these errors were encountered: