Skip to content

Replace deprecated KeyboardEvent.keyCode by KeyboardEvent.code#811

Open
coelhucas wants to merge 2 commits intojxnblk:masterfrom
coelhucas:keyboard
Open

Replace deprecated KeyboardEvent.keyCode by KeyboardEvent.code#811
coelhucas wants to merge 2 commits intojxnblk:masterfrom
coelhucas:keyboard

Conversation

@coelhucas
Copy link
Copy Markdown

I was having some trouble trying to enter presenter mode by pressing Option + P. After some time banging my head on the keyboard, I noticed that actually it was an extension in my browser capturing the same shortcut to perform a Picture in Picture (so here's the tip for whoever might be facing the same issue in MacOS).

Since I was already with the project cloned in my machine, I decided to also do this replacing to remove the deprecated keyCode field from KeyboardEvent, just to avoid it becoming a breaking change in the near future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant