We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6cd119b commit 7a57f5bCopy full SHA for 7a57f5b
src/cm/touchSelectionMenu.js
@@ -621,7 +621,12 @@ class TouchSelectionMenuController {
621
return;
622
}
623
624
- this.#moveCursorToCoords(clientX, clientY);
+ const moved = this.#moveCursorToCoords(clientX, clientY);
625
+ if (moved != null) {
626
+ event.preventDefault();
627
+ event.stopPropagation();
628
+ this.#view.focus();
629
+ }
630
this.#selectionActive = false;
631
this.#hideMenu();
632
this.#removeSelectionHandles();
0 commit comments