Skip to content

Commit

Permalink
fix: panels menu should only open downwards (#1340)
Browse files Browse the repository at this point in the history
Noticed it would shift left sometimes if window is really short. Only
allow it to open downwards.
  • Loading branch information
dsmmcken authored Jun 2, 2023
1 parent a4677eb commit a25be7f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/code-studio/src/main/AppMainContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -867,6 +867,9 @@ export class AppMainContainer extends Component<
isShown={isPanelsMenuShown}
className="panels-menu-popper"
onExited={this.handleWidgetsMenuClose}
options={{
placement: 'bottom',
}}
closeOnBlur
interactive
>
Expand Down

0 comments on commit a25be7f

Please sign in to comment.