mirror of
https://github.com/google/blockly.git
synced 2026-01-08 09:30:06 +01:00
fix: caret position when editing block comments (#9153)
This commit is contained in:
@@ -173,6 +173,10 @@ export class TextInputBubble extends Bubble {
|
||||
browserEvents.conditionalBind(textArea, 'wheel', this, (e: Event) => {
|
||||
e.stopPropagation();
|
||||
});
|
||||
// Don't let the pointerdown event get to the workspace.
|
||||
browserEvents.conditionalBind(textArea, 'pointerdown', this, (e: Event) => {
|
||||
e.stopPropagation();
|
||||
});
|
||||
|
||||
browserEvents.conditionalBind(textArea, 'change', this, this.onTextChange);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user