comment
This commit is contained in:
parent
047f182cd8
commit
1c8bcce0ed
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ export class ContextMenu extends React.PureComponent<IProps, IState> {
|
||||||
}
|
}
|
||||||
|
|
||||||
componentWillUnmount() {
|
componentWillUnmount() {
|
||||||
// return focus to the thing which had it before us after the unmount
|
// return focus to the thing which had it before us
|
||||||
this.initialFocus.focus();
|
this.initialFocus.focus();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue