Skip to content

Multiple scrollbars. #6094

Closed
Closed

Description

@bizzthemes

Issue Overview

Inner scrollbars are a terrible UX decision and I'm not sure why you closed so many issue reports listing the same problem. One scrollbar should be present at all times and it's pretty simple to fix it. There are so many advantages to this and I don't see any positives with inner scrollbars, they just confuse the hell out of users.

Steps to Reproduce (for bugs)

  • Gutenberg version 2.6.0.
  • All browsers.
  • Expand sidebar meta-boxes and also have multiple menu items in left sidebar (dark color).

Expected Behavior

Only one scrollbar at all times.

Current Behavior

Multiple scrollbars in (right) sidebar section.

Possible Solution

Overflow should work the same as with classic (old) editor, when a lot of content is posted and editor expends over the viewport. Or, see how YouTube handles the (left) sidebar and (right) content.

Screenshots / Video

gutenberg-scrollbars

Activity

  1. danielbachhuber commented on Apr 10, 2018

    @danielbachhuber
    Member

    Thanks for sharing your feedback, @bizzthemes!

  2. ZebulanStanphill commented on Apr 10, 2018

    @ZebulanStanphill
    Member

    Yeah, I think that 3 scrollbars is at least 1 too many. The scrollbar for the sidebar could just be the same as the main page scrollbar. (Or maybe the main page scrollbar should not even be showing up.)

    The UX when scrolling while hovering over a post is quite confusing as well. You have to scroll for about a second or so after it stops moving before the main page scrollbar starts moving, which allows you to be able to scroll down to see the metaboxes. It almost feels unresponsive at first, and it definitely does not feel elegant.

  3. karmatosed commented on Apr 10, 2018

    @karmatosed
    Member

    By default you shouldn't be seeing so many scrollbars. If you are please include what browser you are viewing in. It also looks like you @bizzthemes are using maybe an older version of Gutenberg? Can you maybe mention what version you are using please?

    2018-04-10 at 20 59

  4. ZebulanStanphill commented on Apr 10, 2018

    @ZebulanStanphill
    Member

    @karmatosed I am using Firefox Nightly and I see the same number of scrollbars on Chromium.

    The rightmost scrollbar comes from both having enough plugins installed to make the WordPress admin nav bar on the left be taller than the window height and/or having metaboxes enabled (in my case Yoast). The scrollbar to the left of it comes from having multiple sections in the Gutenberg sidebar open. The leftmost scrollbar comes from the height of the post content.

    There is a difference in behavior between Firefox and Chromium, however. Metaboxes add height to the leftmost scrollbar in Chromium when open, but in Firefox, they add height to the rightmost scrollbar regardless of whether they are open or not.

  5. davisshaver commented on Apr 19, 2018

    @davisshaver
    Contributor

    +1. I am seeing these in Chrome. It seems a bit dangerous but something like this could ensure that only the sidebar and editor show scrollbar on webkit browsers:

    body.gutenberg-editor-page::-webkit-scrollbar { display: none }
    
  6. davisshaver commented on May 1, 2018

    @davisshaver
    Contributor

    Closed #6094 as it obscures original problem.

    Another idea is sync-scrolling (https://github.com/asvd/syncscroll) either the admin navbar and post content or the post content and Gutenberg sidebar. Then we could reasonably obscure the inner scrollbar? And not have to refactor the markup as much as it may to accomplish this another way. My leaning would be to sync the admin and post content to match existing behavior.

  7. GlennMartin1 commented on Jun 29, 2018

    @GlennMartin1

    Hopefully something will be done about this. I always have three vertical scrollbars, and it surely makes it tough to navigate......

    I'm using Chrome on Windows.

  8. chrisvanpatten commented on Jun 29, 2018

    @chrisvanpatten
    Contributor

    I get the same but had resigned myself to living with it… hadn't seen this ticket. That third full-page scrollbar is the result of having a bunch of menu items in the WP admin nav sidebar that cause it the full page to overflow.

  9. added
    General InterfaceParts of the UI which don't fall neatly under other labels.
    on Jul 19, 2018
  10. mtias commented on Jul 19, 2018

    @mtias
    Member

    I don't think there's much that can be done here unless we have our own scrollbar implementation, which could easily become a rabbit hole.

  11. karmatosed commented on Jul 29, 2018

    @karmatosed
    Member

    I would also underline that having our own scrollbar implementation wouldn't work. If someone has some ideas we can always revisit, but for version one this seems a little out of scope to work on a custom scrollbar solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    General InterfaceParts of the UI which don't fall neatly under other labels.Needs Design FeedbackNeeds general design feedback.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions