Make WordPress Core

Opened 10 months ago

Closed 9 months ago

#59242 closed defect (bug) (fixed)

Block toolbar stays on top of post (mobile)

Reported by: drrxbracho's profile drrxbracho Owned by:
Milestone: 6.4 Priority: normal
Severity: normal Version: 6.3
Component: Editor Keywords:
Focuses: Cc:

Description

When working on a post using a mobile browser and WordPress 6.3.1, the toolbar of the "current block" (has focus) stays on top of the entire post, so one must scroll up for simple things like italicize, create a link, a footnote, or change a heading level.

On a desktop browser, the toolbar appears immediately above the "current block".

Thanks in advance,
Rafael

Change History (6)

#1 @sabernhardt
10 months ago

  • Version changed from 6.3.1 to 6.3

Hi and welcome to WordPress Core Trac! Thanks for the report.

The main problem with the toolbar staying at the top on smaller screens comes from hiding the overflow, which GB53540 may have fixed for an upcoming maintenance release.

.edit-post-visual-editor
  overflow: hidden;
}

Discussion of further changes might fit on GB52032 or another issue in the Gutenberg repository.

#2 @sabernhardt
9 months ago

  • Milestone changed from Awaiting Review to 6.3.2

Adding the milestone to this ticket to make sure GB53540 is merged into the 6.3 branch (along with other editor changes).

#3 @sabernhardt
9 months ago

Also, I posted a possible temporary solution to use until the 6.3.2 maintenance release is available.

This ticket was mentioned in Slack in #core by joemcgill. View the logs.


9 months ago

#5 @audrasjb
9 months ago

  • Milestone changed from 6.3.2 to 6.4

Unfortunately this PR wasn't backported to branch 6.3 in #59293 by the Editor team.
Given we're close to 6.3.2 release candidate, let's move this ticket to the next major.

#6 @sabernhardt
9 months ago

  • Resolution set to fixed
  • Status changed from new to closed

I do not know which commit merged this into trunk, but the revised selector is part of 6.4 beta already. It probably was one of the changesets on #59411.

Note: See TracTickets for help on using tickets.