core-elements icon indicating copy to clipboard operation
core-elements copied to clipboard

Clicking on a paper-icon-button inside an item of a core-list determine item selection

Open fedy2 opened this issue 11 years ago • 3 comments

I've a core-list item with a paper-icon-button. When I click it the item become selected. The same don't happens with a normal button.

More details here: http://stackoverflow.com/questions/27037084/how-to-prevent-core-activate-event-in-core-list-when-items-paper-icon-button-is

fedy2 avatar Nov 21 '14 08:11 fedy2

This looks like it is fixed with core elements 0.5.0 and paper element 0.6.0, tried with paper-button and paper-icon-button.

jakemac53 avatar Dec 10 '14 21:12 jakemac53

It works only if the paper-button or the paper-icon-button are declared in the list item template. If in the item template you use a polymer element with inside a button the row get selected when the button is pressed.

fedy2 avatar Feb 17 '15 07:02 fedy2

filed https://github.com/Polymer/core-list/issues/77 on the js repo

jakemac53 avatar Feb 17 '15 15:02 jakemac53