fix: enable wheel event handling in tags widget for Vue DOM render mode

This commit is contained in:
Will Miao
2026-01-15 20:15:18 +08:00
parent bd0dfd4ef5
commit 4e909f3008

View File

@@ -84,6 +84,7 @@ export function addTagsWidget(node, name, opts, callback, wheelSensitivity = 0.0
const { text, active, highlighted, strength } = tagData;
const tagEl = document.createElement("div");
tagEl.className = "comfy-tag";
tagEl.dataset.captureWheel = "true";
const textSpan = document.createElement("span");
textSpan.className = "comfy-tag-text";