File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -363,9 +363,9 @@ export function getQueryStringFromUrlState(urlState: UrlState): string {
363363 assemblyView . nativeSymbol
364364 ) ;
365365 }
366- }
367- if ( isBottomBoxFullscreen ) {
368- query . bottomFullscreen = true ;
366+ if ( isBottomBoxFullscreen ) {
367+ query . bottomFullscreen = true ;
368+ }
369369 }
370370 break ;
371371 }
Original file line number Diff line number Diff line change @@ -168,10 +168,14 @@ class BottomBoxImpl extends React.PureComponent<Props> {
168168 if ( event . key === 'Escape' && this . props . isFullscreen ) {
169169 this . props . toggleBottomBoxFullscreen ( ) ;
170170 }
171- }
171+ } ;
172172
173173 _onClickCloseButton = ( ) => {
174174 this . props . closeBottomBox ( ) ;
175+ // Close the fullscreen if we're closing the bottom box
176+ if ( this . props . isFullscreen ) {
177+ this . props . toggleBottomBoxFullscreen ( ) ;
178+ }
175179 } ;
176180
177181 override render ( ) {
You can’t perform that action at this time.
0 commit comments