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);
|
const focusableParent = this.findFocusableParent(targetElement);
|
||||||
if (focusableParent) {
|
if (focusableParent) {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
if (focusableParent) focusableParent.focus();
|
if (focusableParent) {
|
||||||
|
focusableParent.focus();
|
||||||
|
}
|
||||||
}, 100);
|
}, 100);
|
||||||
sessionStorage.removeItem("focusedElementId");
|
sessionStorage.removeItem("focusedElementId");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue