We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c46b42a commit 3b36858Copy full SHA for 3b36858
site/src/pages/UsersPage/UsersTable/UserGroupsCell.tsx
@@ -79,12 +79,17 @@ export function UserGroupsCell({ userGroups }: GroupsCellProps) {
79
</Button>
80
81
<Popover
82
- disableScrollLock
83
id={popoverId}
84
anchorEl={anchorEl}
85
open={anchorEl !== null}
86
onClose={closePopover}
87
anchorOrigin={{ vertical: "bottom", horizontal: "left" }}
+ // These are necessary to ensure that the popover doesn't exhibit
88
+ // weird, janky behavior when scrolling
89
+ disablePortal
90
+ disableScrollLock
91
+ // Makes sure that the table cell and the popover don't fight each
92
+ // other over deciding whether the popover should be open or closed
93
css={{ pointerEvents: "none" }}
94
>
95
<OverflowY maxHeight={400} sx={{ maxWidth: "320px" }}>
0 commit comments