Skip to content

Commit

Permalink
Merge pull request #292 from liam-hq/enable_clicking_while_table_deta…
Browse files Browse the repository at this point in the history
…il_opened

Enable clicking while Table Detail opened
  • Loading branch information
MH4GF authored Dec 17, 2024
2 parents f290a9d + e21fdc5 commit 00ec1d7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions frontend/.changeset/stale-bags-join.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@liam-hq/erd-core": patch
"@liam-hq/cli": patch
---

Enable clicking while Table Detail opened
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
display: grid;
grid-template-rows: auto 1fr;
height: 100%;
/* NOTE: workaround for that drawer with modal={false} does not work */
/* ref: https://github.com/emilkowalski/vaul/issues/492 */
pointer-events: all;
}

.mainWrapper {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export const TableDetailDrawerRoot: FC<PropsWithChildren> = ({ children }) => {
snapPoints={[]}
open={open}
onClose={handleClose}
modal={false}
>
{children}
</DrawerRoot>
Expand Down

0 comments on commit 00ec1d7

Please sign in to comment.