Repository navigation
[bugfix] canvas: align desktop prompt panel with selected media - #527
Open
wangtiance wants to merge 2 commits into
Open
wangtiance wants to merge 2 commits into
wangtiance wants to merge 2 commits into
Conversation
wangtiance
requested review from
hsliuustc0106 and
princepride
as code owners
November 26, 2026 16:04
github-actions
Bot
requested review from
Probiotics5333,
allendyu and
david6666666
November 26, 2026 16:04
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.
The Windows title bar moves the React Flow canvas down, but the prompt panel used the resulting node coordinates as if they were relative to the workspace. The panel could overlap the bottom of an image or video node.
Measure the canvas origin relative to the workspace and apply it consistently to selection controls, viewport fitting, and media overlays. The browser regression checks the actual 16 CSS pixel gap in the web and Windows layouts, including after opening the desktop sidebar and resizing. It also checks that node positions are unchanged.
Validation: 998 frontend tests, TypeScript, i18n and browser manifest checks, and the browser regression in Chrome on Windows. The browser test enables the Windows desktop renderer styles and uses empty image/video nodes. Packaged Electron playback with real media remains to be checked.
Fixes #526.