Skip to content

Commit

Permalink
fix: not lock scroll when popup menu opens
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanoshadjipetrou committed Nov 29, 2022
1 parent b9ffe02 commit 644dae1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/app/components/AppBar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ export function AppBar() {
</div>
<StyledMenu
keepMounted
disableScrollLock
anchorEl={anchorEl}
onClose={handleClose}
open={Boolean(anchorEl)}
Expand Down
1 change: 1 addition & 0 deletions src/app/components/Mobile/ViewsControl/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ export function MobileViewControl(props: MobileViewControlProps) {
</Button>
<StyledMenu
keepMounted
disableScrollLock
anchorEl={anchorEl}
id="breadcrumb-menu"
onClose={handleClose}
Expand Down
1 change: 1 addition & 0 deletions src/app/components/PageHeader/components/tabs/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ export function PageHeaderTabs(props: PageHeaderTabProps) {
{moreTabs.length > 0 && (
<StyledMenu
keepMounted
disableScrollLock
anchorEl={anchorEl}
onClose={handleClose}
open={Boolean(anchorEl)}
Expand Down
1 change: 1 addition & 0 deletions src/app/components/Search/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ export function SearchLayout(props: SearchLayoutProps) {
<StyledMenu
keepMounted
id="search-menu"
disableScrollLock
anchorEl={anchorEl}
onClose={handleClose}
open={Boolean(anchorEl)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,7 @@ export function ToolBoxPanelIconButtons(props: ToolBoxPanelIconButtonsProps) {
<StyledMenu
keepMounted
id="export-menu"
disableScrollLock
anchorEl={anchorEl}
onClose={handleClose}
open={Boolean(anchorEl)}
Expand Down

0 comments on commit 644dae1

Please sign in to comment.