Closed dlinch closed 6 years ago
Hi @dlinch!
Thanks for reporting this problem! I'll get this fixed soon.
I ended up switching to use event.key
within the extension code. This event property is supported in most modern browsers, but not all. I bumped the extension's major version because of this change.
@Mottie Excellent, thank you for the prompt response!
Hello, I've been seeing an odd behavior ever since I added the altKeyPop extension to my keyboard. Whenever I use the physical keyboard to type in a value, the extensions callbacks seems to block input intermittently and the result is dropped characters from the input.
The example is when I type "Hello there my old friend" what will actually appear in the input is: "Hello ter my ol frend". I don't think I have any more callbacks than a normal implementation, and I worry the setTimeout in the implementation is blocking keyboard input for a fraction of a second, not enough to notice when clicking the virtual buttons with the mouse, but enough that a quick typer loses their characters when using their physical keyboard.
Is there any combination of other callbacks that exacerbates the feedback loop that makes this character dropping happen?
Here is the config for my keyboard:
keyboardOptions is roughly equal to: