Reputation: 83
I have some code to be run:
input
event handler if it's calledI noticed that queuing a message with setTimeout
in the keydown
handler works well.
In this demo, the logged sequence is the one we expect:
So it seems to me that the input
event is queued before the keydown
event is processed, when we don't really know yet whether there will actually be an input. It's just what I need, but how can I be sure things are actually supposed to be implemented this way?
Upvotes: 0
Views: 80