Skip to content

Commit

Permalink
fix: don't propogate click event in the component renderer (#11311) (#…
Browse files Browse the repository at this point in the history
…11344)

fixes #6929

Co-authored-by: Denis <[email protected]>
  • Loading branch information
vaadin-bot and Denis authored Jun 28, 2021
1 parent 5f8c25e commit 48e84fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
if (this.firstChild &&
typeof this.firstChild.click === "function" &&
event.target === this ){
event.stopPropagation();
this.firstChild.click();
}
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ class FlowComponentRenderer extends PolymerElement {
if (this.firstChild &&
typeof this.firstChild.click === "function" &&
event.target === this ){
event.stopPropagation();
this.firstChild.click();
}
});
Expand Down

0 comments on commit 48e84fe

Please sign in to comment.