remove focus from sidebar header toggle click (#18088)

This commit is contained in:
Kris
2022-08-26 16:00:01 -04:00
committed by GitHub
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