Skip to content

Commit 25fb12d

Browse files
committed
improvement(modal): fixed popover issue in custom tools modal, removed the ability to update if no changes made
1 parent 51b5d32 commit 25fb12d

File tree

1 file changed

+0
-3
lines changed
  • apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/tool-input/components/custom-tool-modal

1 file changed

+0
-3
lines changed

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/sub-block/components/tool-input/components/custom-tool-modal/custom-tool-modal.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,6 @@ try {
667667
}
668668
}
669669

670-
// Global keyboard handler for schema params dropdown (like EnvVarDropdown)
671670
useEffect(() => {
672671
if (!showSchemaParams || schemaParameters.length === 0) return
673672

@@ -765,8 +764,6 @@ try {
765764
return
766765
case ' ':
767766
case 'Tab':
768-
// Close dropdown but let the key event continue (don't prevent default)
769-
// This allows the space/tab character to be typed normally
770767
setShowSchemaParams(false)
771768
break
772769
}

0 commit comments

Comments
 (0)