Skip to content

Commit

Permalink
Merge pull request #5585 from nickgros/SWC-7131b
Browse files Browse the repository at this point in the history
  • Loading branch information
nickgros authored Nov 19, 2024
2 parents dba301b + 3ca6300 commit 7bbf6b7
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ public HandlerRegistration addClickHandler(ClickHandler handler) {

return childWidgets
.stream()
// SWC-7131: Visibility via style: {display: "none"} may not work in production
.filter(ReactComponentV2::isVisible)
.map(ReactComponentV2::createReactElement)
.toArray(ReactElement<?, ?>[]::new);
} else {
Expand Down

0 comments on commit 7bbf6b7

Please sign in to comment.