Skip to content

fix(demo-free-layout): reset panel lock after select - #1138

Open
abin-zh wants to merge 1 commit into
bytedance:mainfrom
abin-zh:codex-fix-demo-free-layout-port-panel-reopen-1106
Open

fix(demo-free-layout): reset panel lock after select#1138
abin-zh wants to merge 1 commit into
bytedance:mainfrom
abin-zh:codex-fix-demo-free-layout-port-panel-reopen-1106

Conversation

@abin-zh

@abin-zh abin-zh commented May 25, 2026

Copy link
Copy Markdown

Summary

Fixes the free layout demo issue where the node selection panel cannot be reopened from a port click after the first successful selection.

The panel lock state (active) was only reset on close, not on select. This update resets the lock in the select path as well, so subsequent port clicks can continue to open the panel as expected.

Fixes #1106.

Validation

  • node common/scripts/install-run-rush.js update
  • node common/scripts/install-run-rush.js build
  • node common/scripts/install-run-rush.js lint
  • cd apps/demo-free-layout && npm test
  • node common/scripts/install-run-rush.js build --to @flowgram.ai/demo-free-layout
  • node common/scripts/install-run-rush.js ts-check --to @flowgram.ai/demo-free-layout
  • node common/scripts/install-run-rush.js lint --to @flowgram.ai/demo-free-layout
  • git diff --check

- clear active flag in onSelect callback

- allow reopening node panel after first successful selection
@CLAassistant

CLAassistant commented May 25, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

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.

[Bug] The dynamic port of the conditional node (useDynamicPort) does not render correctly on the canvas

2 participants