PolymerElements / iron-selector

Manages a list of elements that can be selected
32 stars 55 forks source link

Detached callback is called in Firefox even though paper-menu still in the DOM #67

Closed johnheroy closed 8 years ago

johnheroy commented 8 years ago

Not sure if this is an issue with the library itself or just one of the elements / behaviors, but the 'detached' callback I am referring to is the one defined in iron-selectable.html.

I am seeing this in Firefox but NOT in Chrome running shady DOM. In the 'detached' callback, document.body.contains(this) evaluates to true which didn't seem to make sense. Also--I am finding that because of this, the 'tap' event handlers are wiped out so 's don't react to user clicks.

johnheroy commented 8 years ago

Duplicate of #24