Update PanelContainerComponent.tsx
This commit is contained in:
parent
eba617f53f
commit
309fcd112e
|
@ -106,7 +106,9 @@ export class PanelContainerComponent extends React.Component<PanelContainerProps
|
||||||
let focusableParent = this.findFocusableParent(targetElement);
|
let focusableParent = this.findFocusableParent(targetElement);
|
||||||
if (focusableParent) {
|
if (focusableParent) {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
if(focusableParent){
|
||||||
focusableParent.focus();
|
focusableParent.focus();
|
||||||
|
}
|
||||||
}, 100);
|
}, 100);
|
||||||
sessionStorage.removeItem("focusedElementId");
|
sessionStorage.removeItem("focusedElementId");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue