Update PanelContainerComponent.tsx

This commit is contained in:
MokireddySampath 2024-01-02 22:52:22 +05:30 committed by GitHub
parent eba617f53f
commit 309fcd112e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -106,7 +106,9 @@ export class PanelContainerComponent extends React.Component<PanelContainerProps
let focusableParent = this.findFocusableParent(targetElement);
if (focusableParent) {
setTimeout(() => {
if(focusableParent){
focusableParent.focus();
}
}, 100);
sessionStorage.removeItem("focusedElementId");
}