Skip to content

Commit 6a9a243

Browse files
Close menu on full screen option click (#112)
Signed-off-by: ChamseddineBhd <[email protected]>
1 parent e43099d commit 6a9a243

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/top-bar.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ const TopBar = (props) => {
131131
}
132132

133133
function requestOrExitFullScreen () {
134+
setAnchorElGeneralMenu(null);
134135
fullScreenRef.current.fullScreen();
135136
}
136137

0 commit comments

Comments
 (0)