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:
Claude
2026-02-03 14:54:22 +00:00
parent 7dc53071e8
commit f7bb8a1f93

View File

@@ -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}