Skip to content

Doc.: Scala 3 Reference pages hide scrollbars #17046

Closed
@dsbos

Description

@dsbos

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:

  • can't see how far down in the page he or she is (i.e., there is no scrollbar slider indicating the position), and
  • doesn't have a place to click to scroll down (or up) by one page (browser display pane height)

(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.)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions