Repository navigation
[bugfix] Keep selected canvas node titles clear of the toolbar - #696
Open
wangtiance wants to merge 1 commit into
Open
wangtiance wants to merge 1 commit into
wangtiance wants to merge 1 commit into
Conversation
wangtiance
requested review from
hsliuustc0106 and
princepride
as code owners
December 5, 2026 04:33
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
When clamping the selected-node toolbar below the top bar would cover the title or the node's upper controls, prefer placing the toolbar below the node when it fits and there is no composer. In constrained layouts, place it just below the upper controls. The project switcher stays clear, the title receives an ordinary double-click, and the viewport stays where the user left it.
Fixes #693.
Test plan and evidence
node_versions.mjspassed, including the rename followed by the history click and save-failure/retry assertions. Selection placement tests (12), browser manifest and locale checks, production build, and diff whitespace checks passed.Independent candidate review: 85/100, with no blocking findings. Reviewed base
93bd25b08a53633c08a9d904b1043e8cf6c2de65and head5b1de90abaee46e971a0ff515c5047bf5f1a42cc.中文摘要
选中节点移到画布顶部时,如果工具栏会挡住标题或节点顶部控件,就把工具栏放到这些控件下方。浏览器回归验证了普通双击可进入重命名,预设按钮和项目切换仍然可用。附修复前后截图。