Skip to content

Commit b054bbf

Browse files
committed
fix(datagrid): measure the JSON resize drag in global space to stop jitter (#1849)
1 parent 0966ed3 commit b054bbf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

TablePro/Views/RightSidebar/FieldEditors/ResizableEditorContainer.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ internal struct ResizableEditorContainer<Content: View>: View {
3434
.frame(maxWidth: .infinity, minHeight: 11)
3535
.contentShape(Rectangle())
3636
.gesture(
37-
DragGesture(minimumDistance: 1)
37+
DragGesture(minimumDistance: 1, coordinateSpace: .global)
3838
.updating($liveDelta) { value, state, _ in
3939
state = value.translation.height
4040
}

0 commit comments

Comments
 (0)