We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf5ae0a commit e8d4a87Copy full SHA for e8d4a87
1 file changed
plugins/field-colour/src/field_colour.ts
@@ -547,11 +547,10 @@ export class FieldColour extends Blockly.Field<string> {
547
}
548
549
/**
550
- * Handle a mouse leave event. Blur the picker and unhighlight
551
- * the currently highlighted colour.
+ * Handle a mouse leave event by unnhighlighting the currently highlighted
+ * colour.
552
*/
553
private onMouseLeave() {
554
- this.picker?.blur();
555
const highlighted = this.getHighlighted();
556
if (highlighted) {
557
Blockly.utils.dom.removeClass(highlighted, 'blocklyColourHighlighted');
0 commit comments