Open nicofrand opened 1 year ago
I can't repro this on macOS/Safari. On what browsers can you repro this?
Hi,
in Firefox (the user-agent was provided (User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/113.0) but that happens in several versions of it.
Can you repro on a Chromium based browser?
No I do not.
It actually triggers a click event when releasing mouse click. Happens even if you do the same steps while using the editor scrollbar.
Hi, I am looking into this issue with @JoelSon1014
It looks like this happens when the following steps are done
I am currently working on a solution that tracks whether the button's mouseOver event was activated (only in Firefox). It seems that the mouseOver event does not occur while a draggable object is selected, so we can use this to ensure that buttons are only clicked when not dragging (when the mouseOver event did occur).
I will submit a pull request soon. I've gotten the correct functionality working for almost all of the buttons, with a few exceptions
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 https://github.com/gitpod-io/gitpod/issues/10559)
Version: 1.77.3 Commit: 704ed70d4fd1c6bd6342c436f1ede30d1cff4710 User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/113.0 Embedder: vscode.dev