-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doc.: Scala 3 Reference pages hide scrollbars #17046
Comments
Thank you for reporting! |
Hi! Thanks for your work, but in the end, we thought that for the article's body, the ToC is the de facto replacement of the scrollbar. There possibly could be some small and non-invasive scrollbar in the navigation. |
I think it'd be better to keep only the one on the left for navigation and rely on ToC for the right pane. Great work on the styling! Could you check if it works ok after going to a different page, opening a page from a link (if it's in the correct position afterwards, not on the top when the content is already scrolled), etc.? |
## Chrome(White mode): <img width="1648" alt="Screenshot 2023-04-04 at 10 35 44" src="https://user-images.githubusercontent.com/44496264/229736193-76c103af-a6a9-463e-968c-f3bd7e84543f.png"> ## Chrome(Dark mode): <img width="1648" alt="Screenshot 2023-04-04 at 10 35 50" src="https://user-images.githubusercontent.com/44496264/229736266-568a4650-f054-42ad-bdaf-44ee3f26d40c.png"> ## Safari: <img width="1648" alt="Screenshot 2023-04-04 at 10 35 35" src="https://user-images.githubusercontent.com/44496264/229736413-ca354f8f-ede4-4f99-8ff8-e1efcd6fa468.png"> ## Mozilla: <img width="1648" alt="Screenshot 2023-04-04 at 10 35 16" src="https://user-images.githubusercontent.com/44496264/229736453-917edc61-0ae3-4cff-9dcb-33a4d200f6bf.png"> Fixes: #17046
Compiler version
N/A
Minimized example
Browse to page at https://docs.scala-lang.org/scala3/reference/syntax.html
Output
Page displays with no vertical scrollbar.
Expectation
Since, obviously, the page is longer (vertically) than a browser display pane, I expected the page to show up with a vertical scrollbar.
However, no vertical scrollbar appears, meaning that the user:
(Yes, users with pointing devices that scroll directly can move the page, but they can't easily jump down one screen-full (well, pane-full), and they can't see how far down in the page they are. (And any user with a non-scrollwheel mouse or a limited trackpad/etc. wouldn't be able to scroll at all without the keyboard.))
Apparently, your HTML/CSS for Scala 3 Reference pages suppresses scrollbars (well, at least in Chrome and Firefox; things still work in SeaMonkey).
Scala 3 Reference authors: Don't force your scrollbar preferences on all readers. (If you don't want to see vertical scrollbars, configure your browser(s), window manager, and/or operating system to suppress scrollbars; don't suppress them in the HTML/CSS for all readers.)
The text was updated successfully, but these errors were encountered: