Page MenuHomePhabricator

URL with fragment scrolls to the wrong place
Closed, DuplicatePublicBUG REPORT

Description

This is vaguely similar to T318600, but happens in safemode.

Go to https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(policy)?safemode=1#Ending_Draft_Space

The section head "Ending Draft Space" is hidden behind the page title. I can see the main pane scroll to the correct place and then the title bar drop down to obscure the heading. Making things worse, the section head isn't visible in the TOC; it's a Level 3 heading, and only the enclosing Level 2 is shown in the TOC. See this screenshot: {F35622790}

Actually, it's even more confusing than I originally thought. The behavior seems to depend on the exact dimensions of the window. If I change the window size slightly, it scrolls to a different place. Here's one where I have no clue where it scrolled to:

Screen Shot 2022-10-24 at 7.22.48 PM.png (2×2 px, 1 MB)

. Since you can't see the section heading in either the main pane or the TOC, you have no idea where you are, so you don't know if you need to scroll up or down to get to the right place.

I'm running:

  • MacOS 12.6 (21G115)
  • Chrome Version 106.0.5249.119 (Official Build) (x86_64)