25 MB lightweight cross-platform database client for 100+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 100+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP。
TypeScript aicliclickhousedatabasedatabase-clientdatabase-managementdockerguimcpmongodbmysqlpostgresqlredisrustsql-serversqlitetaurivue
Keep first inserted grid row visible while editing
Caisinfd46869c1447
diff --git a/apps/desktop/src/components/grid/DataGrid.vue b/apps/desktop/src/components/grid/DataGrid.vueindex 1485474cc7..5d5af30ef9 100644--- a/apps/desktop/src/components/grid/DataGrid.vue+++ b/apps/desktop/src/components/grid/DataGrid.vue@@ -4883,7 +4883,16 @@ function drawCanvasGrid() {});}-watch(useCanvasGridRows, () => nextTick(attachCanvasResizeObserver), { immediate: true });+watch(+ [useCanvasGridRows, hasVisibleRows],+ () => {+ // When an empty table gets its first pending row, the canvas scroller is created by+ // the v-if branch after the original mount-time observer attempt has already no-op'd.+ // Reattach after that branch mounts so the canvas/overlay get real viewport dimensions.+ nextTick(attachCanvasResizeObserver);+ },+ { immediate: true },+);watch(showDataGridTopbar, () => nextTick(observeDataGridTopbarWidth), { immediate: true });watch([