WordPress.org

Make WordPress Core

Opened 7 weeks ago

Last modified 7 weeks ago

#49463 new defect (bug)

Beta 5.4 HTML position:fixed

Reported by: Andre Jutras Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.4
Component: Editor Keywords: needs-patch
Focuses: css Cc:

Description

I'm testing out beta 5.4 and noticed an odd issue relating to the HTML tag in a page where in mobile, the browser scrollbar disappears due to this CSS:

Found here:

/wp-includes/css/dist/block-editor/style.min.css?ver=5.4-beta1
html {
    position: fixed;
    width: 100%;
}

For screens larger than 782px:

@media (min-width: 782px)
html {
    position: static;
    width: auto;
}

I checked current 5.3 version and this is nowhere to be seen. What is the purpose of the fixed HTML in mobile screens below 782px? I'm assuming this is a bug.

Change History (1)

#1 @SergeyBiryukov
7 weeks ago

  • Component changed from General to Editor
  • Version set to trunk
Note: See TracTickets for help on using tickets.