From 46dafef9c4b30a5a01a0e2e3e836341078e46959 Mon Sep 17 00:00:00 2001 From: Federico Ruggi <1081051+ruggi@users.noreply.github.com> Date: Tue, 19 Nov 2024 19:02:40 +0100 Subject: [PATCH] Stringify the element path passed to data-grid-path (#6660) **Problem:** `data-grid-path` is not stringified when used in the grid control's component, leading to a lovely `[object Object]` which functionally nerfs the dom walker. **Fix:** Fix that. Fixes #6659 --- editor/src/components/canvas/controls/grid-controls.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/src/components/canvas/controls/grid-controls.tsx b/editor/src/components/canvas/controls/grid-controls.tsx index bf687f20a041..a8f61ad94128 100644 --- a/editor/src/components/canvas/controls/grid-controls.tsx +++ b/editor/src/components/canvas/controls/grid-controls.tsx @@ -925,7 +925,7 @@ const GridControl = React.memo(({ grid, controlsVisible }) =>
{placeholders.map((cell) => {