File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
site/src/pages/UsersPage/UsersTable Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -79,12 +79,17 @@ export function UserGroupsCell({ userGroups }: GroupsCellProps) {
79
79
</ Button >
80
80
81
81
< Popover
82
- disableScrollLock
83
82
id = { popoverId }
84
83
anchorEl = { anchorEl }
85
84
open = { anchorEl !== null }
86
85
onClose = { closePopover }
87
86
anchorOrigin = { { vertical : "bottom" , horizontal : "left" } }
87
+ // 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
88
93
css = { { pointerEvents : "none" } }
89
94
>
90
95
< OverflowY maxHeight = { 400 } sx = { { maxWidth : "320px" } } >
You can’t perform that action at this time.
0 commit comments