mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-02-03 19:35:15 -05:00
fix(frontend): Prevent node drag when selecting text in object editor key input
Add nodrag class to the key name input wrapper in WrapIfAdditionalTemplate to allow text selection without triggering node drag behavior. This matches the pattern used by other input components like TextWidget. https://claude.ai/code/session_012KzXYWLoXF8P8L5a5L19Pi
This commit is contained in:
@@ -80,7 +80,7 @@ export default function WrapIfAdditionalTemplate(
|
||||
uiSchema={uiSchema}
|
||||
/>
|
||||
{!isHandleConnected && (
|
||||
<div className="flex flex-1 items-center gap-2">
|
||||
<div className="nodrag flex flex-1 items-center gap-2">
|
||||
<Input
|
||||
label={""}
|
||||
hideLabel={true}
|
||||
|
||||
Reference in New Issue
Block a user