PolymerElements / paper-icon-button

A Material Design icon button
https://www.webcomponents.org/element/PolymerElements/paper-icon-button
42 stars 44 forks source link

dialog-dismiss attribute on paper-icon-button not working with paper-dialog #70

Closed RebeccaStevens closed 8 years ago

RebeccaStevens commented 8 years ago

When the dialog-dismiss attribute is added to a paper-icon-button, clicking the button does not close the paper-dialog.

<paper-dialog>
  <paper-icon-button icon="icons:cancel" title="Close" dialog-dismiss></paper-icon-button>
  ...
</paper-dialog>

Note: Using the Inspector, if I add the dialog-dismiss attribute to the iron-icon in the paper-icon-button's dom then click the button, it will close.

PolymerElements/paper-dialog#87

notwaldorf commented 8 years ago

Closing, as this is a paper-dialog issue, and it's already being tracked there.