ITADN

1.47: rgthree Power Lora — node doesn't redraw until manual resize after Add Lora

#13863Openchristian-byrne 创建于 2026-07-21
Custom NodePotential Bugarea:vue-migration
C
christian-byrnecommented
## Problem / Goal rgthree Power Lora Loader → click "Add Lora" → the new row is invisible until you manually resize the node (QA finding, non-blocking P2). Root cause: Vue nodes take geometry from `layoutStore` and don't read litegraph's dirty-canvas flag; rgthree's Add-Lora mutates `node.size[1]` directly + calls `setDirtyCanvas` (both Vue no-ops). Only the full `set size` setter reaches layoutStore — a manual resize is what triggers it. ## Proposed Solution Bridge runtime widget growth to layoutStore — recompute content-size on `_widgetSlotsDirty`/`setDirtyCanvas`, or let the `useVueElementTracking` ResizeObserver auto-commit height. Watch the `useLayoutSync` feedback-loop guard. Needs a Vue-nodes owner. ## Acceptance Criteria After Add Lora, the node grows and the new row is visible without a manual resize. _Found in 1.47 QA; filed to track fix → review → merge → backport → re-verify._
1 条评论