Skip to content

Commit

Permalink
Edit
Browse files Browse the repository at this point in the history
  • Loading branch information
yen223 committed Nov 8, 2024
1 parent 25ab731 commit 383b260
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions articles/a-bizarre-google-keyboard-bug.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tags:
description: "This article is about a weird Google keyboard bug on Android."
---

There's a subtle bug that happens when you're using Gboard (the Google keyboard) on Android on certain websites. Watch what happens after I type `test` into the [Guardian crossword app](https://www.theguardian.com/crosswords/cryptic/29529), and try to delete the word:
There's a subtle bug that happens when you're using Gboard (the Google keyboard) on Android on certain websites. Watch what happens after I type `test` into the [Guardian crossword](https://www.theguardian.com/crosswords/cryptic/29529), and try to delete the word:

{% video src="/videos/guardian-crossword-bug.mp4" caption="The bug in the Guardian crossword" /%}

Expand All @@ -27,7 +27,7 @@ This does not happen with iOS keyboards, or with Gboard on iOS. This appears to

## The bug

The cause of the bug is that **Gboard doesn't issue the correct keyCode in its keydown/keypress/keyup events.**
The cause of the bug is that **Gboard doesn't issue the correct keyCode in its keydown/keypress/keyup browser events.**

I've built a [keyboard events viewer](/projects/key-event-viewer) to help illustrate the issue.

Expand Down

0 comments on commit 383b260

Please sign in to comment.