Skip to content

Commit

Permalink
Merge pull request #227 from nucleogenesis/7974-kolibri--keyboard-out…
Browse files Browse the repository at this point in the history
…line

Fix keyboard outline in Kolibri - no longer showing unless keyboard navigating
  • Loading branch information
nucleogenesis authored May 11, 2021
2 parents 354a0a3 + 02422a6 commit 5b07ac2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/styles/trackInputModality.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function setUpEventHandlers(disableFocusRingByDefault) {
};

if (disableFocusRingByDefault) {
const css = 'body :focus { outline: none; }';
const css = 'body :focus:not([modality=keyboard]) { outline: none; }';
const head = document.head || document.getElementsByTagName('head')[0];
const style = document.createElement('style');

Expand Down

0 comments on commit 5b07ac2

Please sign in to comment.