mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-21 21:22:11 -03:00
fix(cycler): prevent node drag when interacting with index input in Vue DOM mode
Add @pointerdown.stop, @pointermove.stop, @pointerup.stop modifiers to the index input element to stop pointer event propagation to parent node. This prevents unintended node dragging when user clicks/drags on the index input for value adjustment or text selection. Follows the pattern used by ComfyUI built-in widgets like WidgetLayoutField and WidgetTextarea.
This commit is contained in:
@@ -52,6 +52,9 @@
|
||||
:disabled="totalCount === 0"
|
||||
@input="onIndexInput"
|
||||
@blur="onIndexBlur"
|
||||
@pointerdown.stop
|
||||
@pointermove.stop
|
||||
@pointerup.stop
|
||||
/>
|
||||
<span class="index-hint">1 - {{ totalCount || 1 }}</span>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user