mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-06-25 12:31:15 -03:00
In Vue render mode, ComfyUI's TransformPane uses a capture-phase wheel handler (@wheel.capture) that fires before the tag element's bubble-phase strength-adjustment listener. It checks wheelCapturedByFocusedElement(), which requires data-capture-wheel on a focused element. The tag divs had data-capture-wheel but were not focusable, so the check failed, causing the capture handler to forward the event to the canvas (triggering zoom) and stopPropagation() which prevented the strength handler from running. Fix: move data-capture-wheel from individual tags to the container, make it focusable (tabIndex=-1), and add a window-level capture-phase wheel listener that focuses the container before TransformPane checks it.