Make WordPress Core

Opened 4 years ago

Closed 5 months ago

#52565 closed defect (bug) (worksforme)

A Scrollbar Appear in a right panel when editing a page or post

Reported by: pratik-jain's profile Pratik Jain Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Editor Keywords:
Focuses: Cc:

Description

With WordPress 5.7 Beta 3, there is a scrollbar in right side panel when we add or edit any page or post.

The scrollbar appear only on Mozilla Browser. In Chrome Browser there is no scrollbar.

My Mozilla Browser version is 85.0.2

Attachments (5)

scrollbar.png (51.2 KB) - added by Pratik Jain 4 years ago.
Scrollbar in Mozilla FireFox Browser
52565-FFonMac.gif (4.7 MB) - added by hellofromTonya 4 years ago.
Could not reproduce on Mac with latest 5.7 trunk version and Firefox 85.0.2
Capture d’écran 2021-02-23 à 01.16.43.png (662.6 KB) - added by audrasjb 4 years ago.
Could not reproduce on Mac/Firefox 85.0.2
Screen Shot 2021-02-22 at 6.27.19 PM.png (337.7 KB) - added by hellofromTonya 4 years ago.
Able to reproduce on Mac with Firegox 85.0.2 and latest 5.7 trunk version WHEN changing "System Preferences > General > Show scroll bars" to "Always".
firefox-scrollbar-5.6vs5.7.jpg (180.8 KB) - added by dianeco 4 years ago.

Change History (17)

@Pratik Jain
4 years ago

Scrollbar in Mozilla FireFox Browser

#1 @SergeyBiryukov
4 years ago

  • Component changed from General to Editor
  • Milestone changed from Awaiting Review to 5.7

#2 @mukesh27
4 years ago

#52574 was marked as a duplicate.

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


4 years ago

@hellofromTonya
4 years ago

Could not reproduce on Mac with latest 5.7 trunk version and Firefox 85.0.2

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


4 years ago

@audrasjb
4 years ago

Could not reproduce on Mac/Firefox 85.0.2

#5 @audrasjb
4 years ago

  • Keywords reporter-feedback added

I could not reproduce the issue as well.
Tested on MacOSX/Firefox 85.0.2.

@hellofromTonya
4 years ago

Able to reproduce on Mac with Firegox 85.0.2 and latest 5.7 trunk version WHEN changing "System Preferences > General > Show scroll bars" to "Always".

#6 @hellofromTonya
4 years ago

  • On Mac
  • using Firefox 85.0.2
  • Latest version of 5.7 from trunk

Not able to reproduce until I changed System Preferences > General > Show scroll bars to Always. After that change, then I can reproduce. See attached gifs.

#7 @hellofromTonya
4 years ago

  • Keywords needs-patch added; reporter-feedback removed
  • Milestone changed from 5.7 to Future Release
  • Version trunk deleted

After testing with @peterwilsoncc @audrasjb and @davidbaumwald, discovered:

  • Can reproduce on Mac and Windows
  • Happens in latest version of 5.7 trunk as well as in 5.6.1

As Peter notes

I am seeing it on 5.6.1 on my site, so not a 5.7 regression.

Removing trunk as the version.

As 5.7 RC1 is tomorrow, there's no patch, and not a 5.7 regression, moving it to a Future Release.

#8 @dianeco
4 years ago

I believe this is a 5.6 regression. Testing with Windows/Firefox 85.0.2, I can see a horizontal scrollbar with WP 5.7, which wasn't there with WP 5.6 (screenshot above).

#9 @SergeyBiryukov
4 years ago

Might be related: #52809

#10 @sabernhardt
3 years ago

#53486 was marked as a duplicate.

#11 @janboddez
3 years ago

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.

#12 @sabernhardt
5 months ago

  • Keywords needs-patch removed
  • Milestone Future Release deleted
  • Resolution set to worksforme
  • Status changed from new to closed

Firefox gave me the horizontal scrollbar for document settings as recently as WordPress 6.2, but not in 6.3 or 6.6. I'll close the ticket, but please find or open an issue on the Gutenberg GitHub Repository if you still experience the scrollbar.

Note: See TracTickets for help on using tickets.