paper-dialog icon indicating copy to clipboard operation
paper-dialog copied to clipboard

Paper dialog fired a bad event with a paper-dropdown inside

Open florent1933 opened this issue 8 years ago • 1 comments

Description

If a paper-dropdown is inside a paper-dialog with an event iron-overlay-closed, this event is fired when we are closing the paper-dropdown.

Expected outcome

Closing the paper dropdown should not fire the event.

Live Demo

https://jsbin.com/vugijahohi/edit?html,js,console,output

Steps to reproduce

  1. Select a value in the paper-dropdown
  2. It fires the bad event

Browsers Affected

  • [x] Chrome
  • [x] Firefox

I don't know for others

  • [ ] Safari 9
  • [ ] Safari 8
  • [ ] Safari 7
  • [ ] Edge
  • [ ] IE 11
  • [ ] IE 10

Maybe related to : https://github.com/PolymerElements/paper-dialog/issues/132

florent1933 avatar Nov 21 '16 00:11 florent1933

Related issue occurs for the iron-overlay-opened event when the paper-dropdown-menu is opened. Using the same demo above, replace the iron-overlay-closed event with iron-overlay-opened. Issue presents itself after clicking on the dropdown within the paper-dialog.

nzacca avatar Dec 15 '16 08:12 nzacca