Make WordPress Core

Opened 2 years ago

Closed 2 years ago

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

Difficult block insertion in post editor when metabox is displayed

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

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 2 years ago.

Download all attachments as: .zip

Change History (6)

#1 @karl94
2 years ago

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

@karl94
2 years ago

#2 @sabernhardt
2 years ago

(I removed the first image)

#3 @karl94
2 years 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
2 years ago

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

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
2 years ago

  • Milestone Awaiting Review
  • Resolutionreported-upstream
  • Status newclosed

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.