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

Wrong tap event target

Open tpluscode opened this issue 8 years ago • 1 comments

Description

When handling the tap event, e.target is not the paper-checkbox

Expected outcome

Event target should be the tapped checkbox

Actual outcome

The actual target is a div inside of the paper-checkbox

Live Demo

http://jsbin.com/natima/edit?html,js,console,output

Browsers Affected

  • [x] Chrome
  • [ ] Firefox
  • [ ] Safari 9
  • [ ] Safari 8
  • [ ] Safari 7
  • [ ] Edge
  • [ ] IE 11
  • [ ] IE 10

tpluscode avatar Sep 09 '16 07:09 tpluscode

This seems also to happen with a paper-card.

Depending on where I tap on, e.target is in my case one of the nested elements inside paper-card.

yglodt avatar Mar 17 '17 17:03 yglodt