Skip to content

Commit

Permalink
Fixed the disabled scrolling when openning all dropdown menus (#1048)
Browse files Browse the repository at this point in the history
  • Loading branch information
marinovl7 authored Oct 8, 2022
1 parent 4ab667a commit bf52837
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/layout/nav/AdminMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ export default function AdminMenu() {
)}
</IconButton>
<Menu
disableScrollLock={true}
keepMounted
id="menu-appbar"
anchorEl={anchorEl}
Expand Down
1 change: 1 addition & 0 deletions src/components/layout/nav/PrivateMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ export default function PrivateMenu() {
)}
</IconButton>
<Menu
disableScrollLock={true}
keepMounted
id="menu-appbar"
anchorEl={anchorEl}
Expand Down
1 change: 1 addition & 0 deletions src/components/layout/nav/PublicMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export default function PublicMenu() {
<PersonIcon />
</Button>
<Menu
disableScrollLock={true}
open={Boolean(anchorEl)}
keepMounted
id="menu-appbar"
Expand Down

0 comments on commit bf52837

Please sign in to comment.