Closed Bug 1957346 Opened 19 days ago Closed 19 days ago

GitHub pages will loose scrollbars when navigating back after clicking the "New Issue" button and "View templates" link

Categories

(Web Compatibility :: Site Reports, defect)

defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: whimboo, Unassigned)

Details

(Whiteboard: [GitHub support ticket #3318947])

Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:138.0) Gecko/20100101 Firefox/138.0 ID:20250318213234

As I've noticed when navigating on GitHub and trying to file a new issue, the scrollbars will be lost and you are no longer able to scroll the web page when navigating back after having clicked the GitHub new issue button and View Templates link. This can be reproduced with the following steps:

  1. Open https://github.com/microsoft/playwright/issues/32577
  2. Click the New Issue button so that a popup will appear and the scrollbars already removed
  3. Click the View Templates link
  4. Navigate back

After step 4 I expect the former page being shown with scrollbars but those are still gone. A reload makes them visible again. Note that clicking just a template doesn't produce this failure. It seems to only happen with the View Templates link.

Is this a regression and does this happen in other browsers?
(This does feel like a site issue, maybe the first page enters bfcache and then when coming out of bfcache, scrollbars, which were explicitly hidden, aren't restored?)

Flags: needinfo?(hskupin)

I can see this behavior with 134 as well. I didn't test more at the moment. I quickly checked with Chrome and it happens there as well. So lets move this report into webcompat for further analysis.

Component: DOM: Core & HTML → Site Reports
Flags: needinfo?(hskupin)
Product: Core → Web Compatibility

This should be reported to github itself.

I quickly checked with Chrome and it happens there as well.

Not a WebCompat bug then. Someone should report this to GitHub, I'll let our GHE people know, but this isn't something we can do anything about.

Status: NEW → RESOLVED
Closed: 19 days ago
Flags: needinfo?(dschubert)
Resolution: --- → INVALID

Filed a GitHub Support ticket, #3318947.

Flags: needinfo?(dschubert)

(In reply to Dennis Schubert [:denschub] from comment #5)

Filed a GitHub Support ticket, #3318947.

Thanks Dennis!

Whiteboard: [GitHub support ticket #3318947]
You need to log in before you can comment on or make changes to this bug.