Skip to content

Commit

Permalink
fires resize event if event is from light dom element.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nirmal Baldaniya committed Jun 5, 2017
1 parent e2e27fd commit b246ff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iron-resizable-behavior.html
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
// NOTE(cdata): In ShadowDOM, event retargeting makes echoing of the
// otherwise non-bubbling event "just work." We do it manually here for
// the case where Polymer is not using shadow roots for whatever reason:
if (!Polymer.Settings.useShadow) {
if (!Polymer.Settings.useShadow || event.srcElement.shadowRoot) {
this._fireResize();
}
},
Expand Down

2 comments on commit b246ff3

@n1ywb
Copy link

@n1ywb n1ywb commented on b246ff3 Jun 29, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you PR this?

@ChiragMoradiya
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, I would.

Please sign in to comment.