Make WordPress Core

Opened 9 months ago

Closed 9 months ago

#61677 closed defect (bug) (reported-upstream)

Difficult block insertion in post editor when metabox is displayed

Reported by: karl94's profile karl94 Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Editor Keywords: move-to-github close
Focuses: Cc:

Description

In WordPress 6.6 is difficult to insert new blocks in the post editor when there are plugin showing metaboxes at the bottom of the editor.

Usually the editor leaves some white space below the content, allowing to click in the blank area below to add new blocks.
On WP 6.6 however when a metabox is displayed there's no such space.

This is similar to https://github.com/WordPress/gutenberg/issues/63110 except here the issue is the metabox, not the absence of the iframe wrapper.

How to reproduce:

Expected:
You can scroll past the last block inserted, leaving space to a blank area.

Actual:
There's no blank area available.

Attachments (1)

screenshot.png (43.4 KB) - added by karl94 9 months ago.

Download all attachments as: .zip

Change History (6)

#1 @karl94
9 months ago

Sorry, I attached the wrong screenshot.
The correct one is below

@karl94
9 months ago

#2 @sabernhardt
9 months ago

(I removed the first image)

#3 @karl94
9 months ago

Thanks sabernhardt!

A few more info: I mistakenly reported this as something broken by WordPress 6.6, but after some digging it seems to be always been like this, at least since WP 6.2 (the oldest version I'm able to easily test on Playground).
If the block editor shows metaboxes it won't display the whitespace.

Is there any reason for this behavior?
I think the editor could be more usable if there would be the blank space instead of none.

#4 @sabernhardt
9 months ago

  • Keywords move-to-github close added
  • Version 6.6 deleted

This discussion would fit better on the Gutenberg repository. I did not notice an existing issue related to inserting blocks with the metabox.
https://github.com/WordPress/gutenberg/issues?q=is%3Aissue+is%3Aopen+metabox

If you cannot find an issue either, could you open one?
https://github.com/WordPress/gutenberg/issues/new/choose

#5 @talldanwp
9 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to reported-upstream
  • Status changed from new to closed

This looks like the same issue - https://github.com/WordPress/gutenberg/issues/63882.

I'll close the trac ticket seeing as editor bugs are usually reported on the gutenberg github repo. Thanks for reporting it though.

Note: See TracTickets for help on using tickets.