From 7ff12fb05b7fdb067052c19e5a09cd4c21961556 Mon Sep 17 00:00:00 2001 From: srichman333 Date: Wed, 27 Dec 2023 02:30:33 -0500 Subject: dragging tables column fix --- src/client/views/nodes/DataVizBox/DataVizBox.tsx | 2 +- src/client/views/nodes/DataVizBox/components/TableBox.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/client/views/nodes/DataVizBox/DataVizBox.tsx b/src/client/views/nodes/DataVizBox/DataVizBox.tsx index 56c130e0f..e8e46edbc 100644 --- a/src/client/views/nodes/DataVizBox/DataVizBox.tsx +++ b/src/client/views/nodes/DataVizBox/DataVizBox.tsx @@ -331,7 +331,7 @@ export class DataVizBox extends ViewBoxAnnotatableComponent() { if (!keys) return; const children = DocListCast(getFrom[Doc.LayoutFieldKey(getFrom)]); var current: {[key: string]: string}[] = [] - for (let i=1; i { {this._tableDataIds - .filter((rowId, i) => this.startID <= i && i <= this.endID) + .filter((rowId, i) => this.startID-2 <= i && i <= this.endID+2) ?.map(rowId => (