react.dev icon indicating copy to clipboard operation
react.dev copied to clipboard

Cannot access entire official React JS Docs without scroll

Open sakettawde opened this issue 8 years ago • 2 comments

Cannot access the entire reactjs docs (via reactjs.org/docs) without scroll.

There are two scrollable areas in the reactjs docs - the left side with the explanation and code examples and the right (sidebar) with links to the rest of the docs. I cannot scroll down the right side to access say the entire advanced guides list if I do not have a scroll in my mouse (or touchpad). The browser scrollbar only maps to the left (explanation) side.

Ideally, this can be seen on any maximised browser window on any 13 inch laptop with default display settings. Just visit https://reactjs.org/docs/ .

The issue does not exist on very large screens as the entire list on right navigation sidebar is seen and the issue also is not present on mobile devices as a responsive design takes over which hides the right sidebar and only makes it appear on a new menu button that appears.

Current Workaround:

Minimise browser window width to access the responsive mobile view and use the scrollbar then. Or zoom out in your browser window to minimise the view enough to see the entire list and then access what you need.

sakettawde avatar Feb 24 '18 13:02 sakettawde

It looks like the scrollbar for the sidebar is pushed off-screen... looking into a fix.

screen shot 2018-02-24 at 2 18 17 pm

As a workaround, if you tab focus into the menu you can use the arrow keys to scroll up and down.

alexkrolick avatar Feb 24 '18 22:02 alexkrolick

Github appears to drop the independent scrolling for the sidebar below a certain height. Maybe we can try that.

EDIT: The Advanced section scrolls even on 15", so dropping either dropping the scroll or adding a scrollbar would affect most viewers.

Maybe we the sidebar should be moved to the left, so we don't end up with two scrollbars next to each other.

image

cc accessibility people: @knittingcodemonkey @gaearon @bvaughn

alexkrolick avatar Feb 24 '18 23:02 alexkrolick