mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-06 00:07:44 +01:00
05b7f6f4d9
This PR fixes a bug where if you navigated to the projects page via the menu, scrolled down, and hovered over a project's avatars, you'd be scrolled to the top of the page when you moused off the avatar. Turns out this issue was also in the group cards. It seems to be that the popover attempts to restore focus back to where you where, which, if you navigated via the menu, is at the top of the page. Because these popovers don't have any focusable content, we can disable that functionality. Additionally, I've disabled the scroll lock when the popover is open. The scroll lock made it impossible to scroll when one of the popovers is open, which is confusing as a user. |
||
---|---|---|
.. | ||
apiToken | ||
auth | ||
banners | ||
billing | ||
cors | ||
groups | ||
instance-admin | ||
instance-privacy | ||
invoice | ||
license | ||
maintenance | ||
menu | ||
network | ||
roles | ||
serviceAccounts | ||
users | ||
Admin.tsx | ||
AdminIndex.tsx | ||
AdminRedirect.tsx | ||
adminRoutes.ts | ||
filterAdminRoutes.test.ts | ||
filterAdminRoutes.ts | ||
LazyAdmin.tsx | ||
LazyAdminExport.tsx | ||
useAdminRoutes.ts |