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

paper-input type="number" input events missing

Open jscissr opened this issue 7 years ago • 1 comments

Description

On <paper-input type="number"></paper-input> elements, the input event does not fire when using the arrow buttons:

image

The reason is that the input events from the keyboard have composed: true, but the input events from the arrow buttons have composed: false; which means that these events don't bubble out of Shadow DOM.

I'm not sure, maybe this is a bug in Chrome and the event should also be composed. But if it is intended behavior in Chrome, it might be necessary to forward the input event in paper-input, like the change event.

Live Demo

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

Steps to reproduce

  1. Click the up or down arrow buttons on the paper-input

Browsers Affected

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

jscissr avatar Jun 20 '17 22:06 jscissr