From 4c9b83a2241fc57edc9fd3fd8f30d7d94185ef01 Mon Sep 17 00:00:00 2001 From: Jin Yi Date: Wed, 11 Mar 2026 13:34:44 +0900 Subject: [PATCH] fix: resolve extraneous attrs warning in TreeExplorerV2Node (#9735) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary Fix Vue warning about extraneous non-props attributes (`data-index`, `style`) in `TreeExplorerV2Node`, which caused the Node Library sidebar to freeze. ## Changes - **What**: Added `defineOptions({ inheritAttrs: false })` and `v-bind="$attrs"` on both node/folder `
` elements so the virtualizer's positioning attributes are properly applied to the rendered DOM. ## Review Focus `TreeExplorerV2Node` has a fragment root (`` + ``), so Vue cannot auto-inherit attrs. The virtualizer's `style` (positioning) merges cleanly with `rowStyle` (`paddingLeft` only). ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-9735-fix-resolve-extraneous-attrs-warning-in-TreeExplorerV2Node-3206d73d3650817c8619e2145e98813d) by [Unito](https://www.unito.io) --- src/components/common/TreeExplorerV2Node.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/components/common/TreeExplorerV2Node.vue b/src/components/common/TreeExplorerV2Node.vue index e5140cb789..2f1e2b9b6f 100644 --- a/src/components/common/TreeExplorerV2Node.vue +++ b/src/components/common/TreeExplorerV2Node.vue @@ -8,6 +8,7 @@