2 karma · joined Nov 13, 2024 (2y ago) · 1 submissions
comment 2y ago · link · parent
Gboard does it in this way for many reasons, but the side effect is that the app should not use a normal text box and expect to receive all key events. It's different than using a physical keyboard on a desktop/laptop computer. That said, do not expect a virtual keyboard to behave in the same way as a physical keyboard.
The workaround mentioned in the article makes sense. Another possible solution for apps that want to receive raw key events is to use a password input box instead of a normal text box.