Created attachment 431260 [details] Example Video It appears WebKit only handles one input event, for example keypress, per animation frame. This is ok if your app is super fast, or if you type slower than the fps, but if there's any performance issues it quickly causes multiple frame slowdowns. Here is an example repro. It has a long-running animation frame to slow the fps down a bit. https://codepen.io/jlfwong/pen/GRWXzBM If you type very quickly (just bash keys) in chrome it keeps up with your typing but if you do it in WebKit/Safari you'll quickly see the keys come in one at a time over many many frames. This happens on Mac and iOS
I verified that Chrome processes keypresses quickly even when there is an even handler attached, so it's not just a shortcut code path for a case when there isn't one.
Yes it happens with or without handlers attached, and i also confirmed Firefox does the fast multi-event handling behavior as well.
<rdar://problem/79524727>
*** Bug 236393 has been marked as a duplicate of this bug. ***