Merge pull request #818 from bluewave-labs/feat/prevent-layout-shift

Prevent scrollbar from shifting content
This commit is contained in:
Alexander Holliday authored and GitHub committed 2024-09-07 20:38:18 -07:00
commit 91ac96bb57
4 files changed
+5 -1

No files matched your search

+2
View File
@@ -306,6 +306,7 @@ function Sidebar() {
anchorEl={anchorEl}
open={Boolean(anchorEl) && popup === item.name}
onClose={closePopup}
disableScrollLock
anchorOrigin={{
vertical: "top",
horizontal: "right",
@@ -591,6 +592,7 @@ function Sidebar() {
anchorEl={anchorEl}
open={Boolean(anchorEl) && popup === "logout"}
onClose={closePopup}
disableScrollLock
anchorOrigin={{
vertical: "top",
horizontal: "right",