Open ThiefMaster opened 1 year ago
@ThiefMaster Would you be interested in trying to provide a PR? I think an e.preventDefault()
could do the trick. Perhaps somewhere in here or around -- https://github.com/microsoft/vscode/blob/a28e68ad708091722507a7f54eaf61e1905c172c/src/vs/editor/browser/controller/mouseHandler.ts#L465-L477
@alexdima can I take this one or is someone else working on it?
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
Nothing should happen since links/buttons are not supposed to trigger just because you release the mouse button while hovering them. After all, the click did not target that link/button.
FWIW this but is VERY annoying when embedding monaco-editor on a webapp that has a navigation near the editor's left side. When selecting a block of I almost always end up with the cursor on the menu and thus leave the page...