mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-07-11 06:25:58 +01:00
fixes for lint and compilation errors
This commit is contained in:
commit
b38f558248
@ -106,7 +106,9 @@ export class PanelContainerComponent extends React.Component<PanelContainerProps
|
||||
const focusableParent = this.findFocusableParent(targetElement);
|
||||
if (focusableParent) {
|
||||
setTimeout(() => {
|
||||
if (focusableParent) focusableParent.focus();
|
||||
if (focusableParent) {
|
||||
focusableParent.focus();
|
||||
}
|
||||
}, 100);
|
||||
sessionStorage.removeItem("focusedElementId");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user