Skip to content

Contextual block toolbar: Move below the block when bumping against the top edge #29464

@jasmussen

Description

@jasmussen

What problem does this address?

Mostly in the site editor, if you select a block close to the top of the screen, it bumps against the screen edge and gets pushed downwards, covering content:

Screenshot 2021-03-02 at 09 04 09

What is your proposed solution?

In those cases, show the block toolbar below the block:

Screenshot 2021-03-02 at 09 04 57

We might need an additional heuristic, that still shows the toolbar above the block if the block is taller than, say, 300px.

Metadata

Metadata

Labels

General InterfaceParts of the UI which don't fall neatly under other labels.[Package] Interface/packages/interface

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions