Skip to content

Database diagrams editor that allows you to visualize and design your DB with a single query.

fix draggable fields on mobile

Guy Ben-Aharon1fb55f01bd00
diff --git a/src/pages/editor-page/editor-page.tsx b/src/pages/editor-page/editor-page.tsx
index f6d954cf..685d07af 100644
--- a/src/pages/editor-page/editor-page.tsx
+++ b/src/pages/editor-page/editor-page.tsx
@@ -115,7 +115,7 @@ export const EditorPage: React.FC = () => {
</DrawerDescription>
</DrawerHeader>
<Separator orientation="horizontal" />
- <SidePanel />
+ <SidePanel data-vaul-no-drag />
</DrawerContent>
</Drawer>
<Canvas />
diff --git a/src/pages/editor-page/side-panel/tables-section/table-list/table-list-item/table-list-item-content/table-field/table-field.tsx b/src/pages/editor-page/side-panel/tables-section/table-list/table-list-item/table-list-item-content/table-field/table-field.tsx
index a1e5c811..650212de 100644
--- a/src/pages/editor-page/side-panel/tables-section/table-list/table-list-item/table-list-item-content/table-field/table-field.tsx
+++ b/src/pages/editor-page/side-panel/tables-section/table-list/table-list-item/table-list-item-content/table-field/table-field.tsx
@@ -55,7 +55,7 @@ export const TableField: React.FC<TableFieldProps> = ({
return (
<div
- className="flex flex-1 flex-row justify-between p-1"
+ className="flex flex-1 touch-none flex-row justify-between p-1"
ref={setNodeRef}
style={style}
{...attributes}