HeliosInteractive / JS-OnScreen-Keyboard

Simple onscreen keyboard for web apps
15 stars 2 forks source link

Should we let the keyboard emit 'change' event with every input? #1

Closed lcb931023 closed 6 years ago

lcb931023 commented 7 years ago

The word 'change' makes sense to be used for our effects on <input>, <select>, or <textarea>. However the behavior is inconsistent depending on which input method we use, and on which platform.

https://developer.mozilla.org/en-US/docs/Web/Events/change

Different browsers do not always agree whether a change event should be fired for certain types of interaction. For example, keyboard navigation in

adammcfadden commented 6 years ago

A bit late to the party here, but this update was made in this commit.

Adding the input and change events was specifically so that v-model would be able to work and pick up changes as they come in.