mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-06-09 12:39:23 -03:00
In Nodes 2.0 / Vue node mode the Lora Loader list could not be capped and the node grew to show every row, unlike classic mode which fixes the list area to 12 rows. The Vue layout engine measures the rendered DOM, so CSS variables and computeLayoutSize alone were ignored. - Physically cap the container via max-height so the rendered element is bounded to the 12-row height; extra rows scroll (overflow: auto). - Report the capped height through computeSize / computeLayoutSize / getHeight / getMinHeight so the node background matches the list. - Add enableListWheelScroll: a window capture-phase wheel hook that scrolls the hovered list instead of letting ComfyUI zoom the canvas, which fires on the document/canvas in capture and beat a container-level listener. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>