Skip to content

Fix keyboard layout detection - #205193

Merged
Alexandru Dima (alexdima) merged 2 commits into
microsoft:mainfrom
CodinGame:fix-keyboard-layout-detection
Mar 14, 2024
Merged

Alexandru Dima (alexdima) merged 2 commits into
microsoft:mainfrom
CodinGame:fix-keyboard-layout-detection

Conversation

@CGNonofr

Copy link
Copy Markdown
Contributor

On google chrome inside a cross origin Iframe (or an iframe without the keyboard-map permission), it currently doesn't fallbacks on the keyboard event to detect the layout map.

Also, the delay introduced by each failing call to getLayoutMap was making the fallback used too late and not working for the first time a key is used

@alexdima
Alexandru Dima (alexdima) enabled auto-merge (squash) March 14, 2024 07:08
@vscodenpa VS Code Bot (vscodenpa) added this to the March 2024 milestone Mar 14, 2024
@alexdima

Copy link
Copy Markdown
Member

Thank you!

@alexdima
Alexandru Dima (alexdima) merged commit e0baf3a into microsoft:main Mar 14, 2024
@microsoft Microsoft (microsoft) locked and limited conversation to collaborators Jun 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants