Skip to content

fix(desktop): isolate nested custom harness submits - #6403

Open
RossHartmann wants to merge 1 commit into
block:mainfrom
Kiingo:upstream/nested-harness-save-20260820
Open

fix(desktop): isolate nested custom harness submits#6403
RossHartmann wants to merge 1 commit into
block:mainfrom
Kiingo:upstream/nested-harness-save-20260820

Conversation

@RossHartmann

Copy link
Copy Markdown

Summary

Custom harness forms can be rendered through a React portal while the owning agent-definition form remains in the React ancestor tree. Prevent the inner submit event from bubbling and triggering the outer agent save.

This is provider-neutral and changes only the nested form boundary.

Validation

  • Reviewed the exact nested form event sequence: prevent default, then stop propagation, before validation or mutation
  • DCO sign-off included

Signed-off-by: Ross Hartmann <1750494+RossHartmann@users.noreply.github.com>
@RossHartmann
RossHartmann requested a review from a team as a code owner August 20, 2026 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant