developer.mozilla.org side menu doesn't scroll?

For support with specific websites

Moderator: trava90

Forum rules
Please always mention the name/domain of the website in question in your topic title.
Please one website per topic thread (to help keep things organized). While behavior on different sites might at first glance seem similar, they are not necessarily caused by the same.

Please try to include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:
  1. Clear any current output
  2. Navigate or refresh the page in question
  3. Copy and paste Errors or seemingly relevant Warnings into a single [ code ] block.
User avatar
varve
Newbie
Newbie
Posts: 3
Joined: 2024-02-26, 17:51

developer.mozilla.org side menu doesn't scroll?

Unread post by varve » 2024-02-26, 18:18

I don't know if it's doing this for anyone else, but the sidebar menu on MDN doesn't scroll at all, which makes it a bit harder to navigate the site! There don't seem to be any relevant errors in the console; the CSS has a sticky position on the sidebar container and an overflow:auto on the content which should make it scroll independently of the main text - and it does in other browsers.

Anybody else encounter this?

I don't know if it's the same issue as every discourse forum ever, which won't scroll the static read-only version it gives me. (On top of insisting I "upgrade to a modern browser" :roll: )

I just upgraded to Pale Moon 33 to make sure it wasn't already fixed. overflow:auto does work on other websites, giving a scrollbar to the component in question.

User avatar
adoxa
Fanatic
Fanatic
Posts: 170
Joined: 2019-03-16, 13:26

Re: developer.mozilla.org side menu doesn't scroll?

Unread post by adoxa » 2024-02-26, 23:54

varve wrote:
2024-02-26, 18:18
sidebar menu on MDN doesn't scroll at all
Working fine here (Basilisk 2024.02.03).
varve wrote:
2024-02-26, 18:18
I don't know if it's the same issue as every discourse forum ever, which won't scroll the static read-only version it gives me. (On top of insisting I "upgrade to a modern browser" :roll: )
I have a Modify HTTP Response filter for that (or just block scripts containing browser-detect).

User avatar
varve
Newbie
Newbie
Posts: 3
Joined: 2024-02-26, 17:51

Re: developer.mozilla.org side menu doesn't scroll?

Unread post by varve » 2024-02-28, 18:37

Ok, but I'm not using Basilisk?

I have no idea what differences there are between the rendering engine and the interfaces of the two projects that might affect how something scrolls.

Thanks for the link to the filter though, I'll look into that thread.

User avatar
Kris_88
Keeps coming back
Keeps coming back
Posts: 940
Joined: 2021-01-26, 11:18

Re: developer.mozilla.org side menu doesn't scroll?

Unread post by Kris_88 » 2024-02-28, 19:16

Scrollbars appear when the browser window width is 1200 or more. Try maximizing the browser window.

User avatar
varve
Newbie
Newbie
Posts: 3
Joined: 2024-02-26, 17:51

Re: developer.mozilla.org side menu doesn't scroll?

Unread post by varve » 2024-02-28, 19:38

That is such a bizarre setting. It did work, but *why*... and why only on pale moon...

User avatar
Kris_88
Keeps coming back
Keeps coming back
Posts: 940
Joined: 2021-01-26, 11:18

Re: developer.mozilla.org side menu doesn't scroll?

Unread post by Kris_88 » 2024-02-28, 19:45

There is some problem with the CSS, but I'm too lazy to dig deeper...

User avatar
adoxa
Fanatic
Fanatic
Posts: 170
Joined: 2019-03-16, 13:26

Re: developer.mozilla.org side menu doesn't scroll?

Unread post by adoxa » 2024-02-29, 03:12

When the minimum width is 1200 there is a maximum height; when the minimum width is 992 there is not. In Firefox it gets clipped to its parent (the element height is what it is, but the display height still gets scrolled); in Basilisk it does not. If you still want the smaller browser width you could add a custom style:

Code: Select all

.sidebar {max-height:var(--max-height)!important}