r/github • • 27d ago

Question Disappearing changed file list?

Post image

For the past few days, whenever I click on "Showing X changed files," the list of files appears below but then quickly disappears, leaving an empty space.

This screenshot is from Opera, and the same thing happens in Chrome. 🤷‍♂️

UPDATE: after a week or so, it is working again! 👍

2 Upvotes

3 comments sorted by

1

u/CartographerDue5382 27d ago

if it flashes then vanishes in both chrome and opera, try a private window with extensions off first. refined github, dark reader, ublock filters do this exact expand-then-collapse on that file list. if a clean window still does it, it's their files-changed ui, not you. till they fix it, stick .diff or .patch on the pull url, or open the commit itself. a red error in the console right when it collapses means it's their js.

1

u/Tiancris 26d ago

I’ve already tried using a private window, but to no avail. The same issue persists.

By inspecting the page, the list have a ".collapse" class. I can make it appear by disabling a "visibility: collapse;" style.

That style originates from https://github.githubassets.com/assets/packages/tailwind/index.css

Something in there just doesn't like me 😁

1

u/CartographerDue5382 26d ago

yea that's on them then. tailwind's .collapse is literally visibility:collapse, so if the file list has that class the browser hides it on purpose. a userstyle on github.com with .collapse { visibility: visible !important } keeps the list on screen. if you don't want another extension, stick .patch on the PR url and skip that panel.