Skip to content

Commit

Permalink
fix: Keep Sidebar drawer mounted
Browse files Browse the repository at this point in the history
  • Loading branch information
usame-algan committed Dec 3, 2024
1 parent 7668262 commit 26d95a3
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/components/sidebar/Sidebar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,13 @@ const Sidebar = (): ReactElement => {

<IndexingStatus />
</div>
<Drawer variant="temporary" anchor="left" open={isDrawerOpen} onClose={onDrawerToggle}>
<Drawer
variant="temporary"
anchor="left"
open={isDrawerOpen}
onClose={onDrawerToggle}
ModalProps={{ keepMounted: true }}
>
<div className={css.drawer}>
<MyAccounts onLinkClick={closeDrawer} isSidebar></MyAccounts>
</div>
Expand Down

0 comments on commit 26d95a3

Please sign in to comment.