Commit ceb315a
authored
fix: blur active element instead of focusing document (#683)
Instead of actively focusing the <body> when the search box is closed, just blur whatever the active element is. Has the same effect in terms of SFNSP, but doesn't cause an unwanted focus ring to appear - closes #6641 parent 082ad3c commit ceb315a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
0 commit comments