We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5eeae29 commit b884a65Copy full SHA for b884a65
src/pages/index.js
@@ -686,6 +686,10 @@ class Index extends React.Component {
686
}
687
688
handleToggleFullscreen = () => {
689
+ // return focus to the document body. This remove focus from the fullscreen
690
+ // icon button and allows keyboard shortcuts in the graph to continue to
691
+ // work.
692
+ document.activeElement.blur();
693
this.setState((state) => ({
694
fullscreen: !state.fullscreen,
695
}));
0 commit comments