[backport core/1.40] fix: stop pointer events on audio widgets to prevent node drag (#9591)

Backport of #9329 to `core/1.40`

Automatically created by backport workflow.

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-9591-backport-core-1-40-fix-stop-pointer-events-on-audio-widgets-to-prevent-node-drag-31d6d73d36508144b21adc799fb6df70)
by [Unito](https://www.unito.io)

Co-authored-by: Terry Jia <terryjia88@gmail.com>
Co-authored-by: Alexander Brown <drjkl@comfy.org>
This commit is contained in:
Comfy Org PR Bot
2026-03-08 11:38:17 +09:00
committed by GitHub
parent 9cea37fed2
commit d913a3e4b8
2 changed files with 2 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
<template>
<div class="relative">
<div class="relative" @pointerdown.stop>
<div class="mb-4">
<Button
class="text-base-foreground w-full border-0 bg-secondary-background hover:bg-secondary-background-hover"

View File

@@ -1,5 +1,5 @@
<template>
<div class="relative">
<div class="relative" @pointerdown.stop>
<div
v-if="!hideWhenEmpty || modelValue"
class="bg-component-node-widget-background box-border flex gap-4 items-center justify-start relative rounded-lg w-full h-16 px-4 py-0"