[wp-trac] [WordPress Trac] #45336: Admin sidebar doesn't scroll vertically when Gutenberg editor is present - 5.0-beta3
WordPress Trac
noreply at wordpress.org
Tue Nov 13 17:42:20 UTC 2018
#45336: Admin sidebar doesn't scroll vertically when Gutenberg editor is present -
5.0-beta3
--------------------------+---------------------------------
Reporter: dmchale | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 5.0
Severity: major | Resolution:
Keywords: | Focuses: ui, administration
--------------------------+---------------------------------
Comment (by dmchale):
Cheers @mukesh27 that does appear to be the culprit
That code appears to be inside both `/wp-includes/css/dis/edit-
post/style.css` and `/wp-includes/css/dis/edit-post/style-rtl.css`
This functionality seems intentional, as the media query implies that this
behavior is expected when the site visitor is browsing the site on a
narrow viewport (applies when the view is LESS than 600px).
I believe this style is being *inadvertently* applied to the sidebar due
to the way Gutenberg is included on this page... the width of the rest of
the window does not seem to be detected, so ONLY the sidebar width counts.
Because of how tightly that seems to be tied to Gutenberg's
implementation, creating a PR for this fix seems to be way outside my pay
grade.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45336#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list