Commit 051eca7
committed
fix(ui-top-nav-bar): fix focus ring not showing when closing a dropdown
The issue was likely that TopNavBarItem did not enter the focused state because its rerendered a
lot. This fix does not use the onFocus React event rather sets withFocusoutline to undefined so the
focus ring is added via CSS
Fixes INSTUI-45871 parent 6e42d1e commit 051eca7
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
435 | 435 | | |
436 | 436 | | |
437 | 437 | | |
438 | | - | |
| 438 | + | |
439 | 439 | | |
440 | 440 | | |
441 | 441 | | |
| |||
0 commit comments