Skip to content

fix: Improve block placement when inserting from flyout via keyboard - #10318

Merged
gonfunko merged 2 commits into
mainfrom
block-positioning
Aug 25, 2026
Merged

fix: Improve block placement when inserting from flyout via keyboard#10318
gonfunko merged 2 commits into
mainfrom
block-positioning

Conversation

@gonfunko

Copy link
Copy Markdown
Contributor

The basics

The details

Resolves

Fixes #10072

Proposed Changes

This PR improves the placement of blocks inserted from the flyout via the keyboard. Previously, blocks would be tiled left to right, top to bottom from (0, 0). Now, tiling starts from the top left (in LTR) or top right (in RTL) of the workspace's visible viewport, and proceeds right-to-left in RTL mode. This provides the spatially-expected behavior, and tiles blocks in the entire visible viewport without jumping the scroll position around.

@gonfunko
gonfunko requested a review from a team as a code owner August 24, 2026 20:23
@gonfunko
gonfunko requested a review from mikeharv August 24, 2026 20:23
@github-actions github-actions Bot added the PR: fix Fixes a bug label Aug 24, 2026
@gonfunko
gonfunko merged commit 1477ab1 into main Aug 25, 2026
6 checks passed
@gonfunko
gonfunko deleted the block-positioning branch August 25, 2026 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: fix Fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Blocks inserted via keyboard from a flyout should be better positioned

2 participants