fix(subflows): fix pointer events for nested subflow interaction (#3409)

* fix(subflows): fix pointer events for nested subflow interaction

* fix(subflows): use Tailwind class for pointer-events-none
This commit is contained in:
Waleed
2026-03-03 23:28:51 -08:00
committed by GitHub
parent 46065983f6
commit efc1aeed70
2 changed files with 2 additions and 2 deletions

View File

@@ -164,7 +164,7 @@ export const ActionBar = memo(
return (
<div
className={cn(
'-top-[46px] absolute right-0',
'-top-[46px] pointer-events-auto absolute right-0',
'flex flex-row items-center',
'opacity-0 transition-opacity duration-200 group-hover:opacity-100',
'gap-[5px] rounded-[10px] p-[5px]',

View File

@@ -151,7 +151,7 @@ export const SubflowNodeComponent = memo(({ data, id, selected }: NodeProps<Subf
: undefined
return (
<div className='group relative'>
<div className='group pointer-events-none relative'>
<div
ref={blockRef}
className={cn(