mirror of
https://github.com/google/blockly.git
synced 2026-01-08 17:40:09 +01:00
This commit is contained in:
@@ -372,6 +372,10 @@ Blockly.tree.TreeControl.prototype.getNodeFromEvent_ = function(e) {
|
||||
if (target == this.getElement()) {
|
||||
break;
|
||||
}
|
||||
// Don't bubble if we hit a group. See issue #714.
|
||||
if (target.getAttribute('role') == Blockly.utils.aria.Role.GROUP) {
|
||||
return null;
|
||||
}
|
||||
target = target.parentNode;
|
||||
}
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user