[wp-trac] [WordPress Trac] #52565: A Scrollbar Appear in a right panel when editing a page or post
WordPress Trac
noreply at wordpress.org
Wed May 11 08:21:13 UTC 2022
#52565: A Scrollbar Appear in a right panel when editing a page or post
--------------------------+-----------------------------
Reporter: Pratik Jain | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Editor | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+-----------------------------
Comment (by janboddez):
Not a solution in the true sense, but this workaround (setting Firefox to
use overlay scrollbars) seems to do the trick for me (on Windows 10): head
over to `about:config` and add `ui.useOverlayScrollbars` with a (number)
value of `1`.
Source:
https://www.reddit.com/r/gnome/comments/r2ne2f/til_overlay_scrollbars_in_firefox_and_thunderbird/
One downside is that sites with, e.g., `overflow-y: scroll` may have the
scrollbar(s) move in front (and thus partially cover) certain page
elements. (Chrome doesn’t do this.)
A potential actual fix would be to detect the presence of a vertical
scrollbar and set an appropriate margin on the sidebar's child elements,
in Firefox only, which seems super risky and not very future proof.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52565#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list