Settings: Prevent focus escaping to <body> in security keys dialog.
When a dialog's child element is focused and then becomes hidden the browser unfortunately moves the focus to <body> which in turn prevents any keydown/keypress listeners on <dialog> from firing. Also preventing an iron-select event from bubbling, since it ends up triggering unrelated code (although this is not required for the fix, it is safer). Bug: None Change-Id: Ifaad8070d6cab5b4db7167d461c35dfc5168d2d7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1648729Reviewed-by:Adam Langley <agl@chromium.org> Commit-Queue: Demetrios Papadopoulos <dpapad@chromium.org> Cr-Commit-Position: refs/heads/master@{#667230}
Showing
Please register or sign in to comment