remove focus from sidebar header toggle click (#18088)
This commit is contained in:
parent
614bf76c0b
commit
faceb989bf
|
@ -39,6 +39,11 @@ export default class SidebarSection extends Component {
|
|||
} else {
|
||||
this.keyValueStore.setItem(this.collapsedSidebarSectionKey, true);
|
||||
}
|
||||
|
||||
// remove focus from the toggle, but only on click
|
||||
if (!event.key) {
|
||||
document.activeElement.blur();
|
||||
}
|
||||
}
|
||||
|
||||
@action
|
||||
|
|
Loading…
Reference in New Issue