Pull request changed files regression: cannot expand/collapse folders #187787
Replies: 5 comments 1 reply
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
|
@lornajane thank you for your patience as our engineering team investigated. It looks like this commit broke the functionality. I would recommend opening an issue in Vimium repo as a next step. |
Beta Was this translation helpful? Give feedback.
-
|
Hey! This looks like a recent regression in the pull request file tree UI rather than something on your side. A couple of things you can try/check:
Since you mentioned it worked before and stopped recently, it's very likely a GitHub-side issue. Reporting it here is the right move 👍 Hope this helps! |
Beta Was this translation helpful? Give feedback.
-
|
Hi there, Thank you for reporting this. As a keyboard-centric user, I understand how critical the expand/collapse folder functionality is for navigating large Pull Requests without relying on a mouse. It appears that a recent update to the PR File Tree might have changed the DOM structure or the way click listeners are attached, which is why Vimium (and potentially other accessibility tools) is failing to "see" the folders as interactive elements. While we wait for a permanent fix from the GitHub Engineering team, here are a few workarounds and technical observations:
j / k: Move focus up and down the file list. o or Enter: Expand/Collapse the currently focused folder or open the file. n / p: Move to the next/previous file in the diff. Alt + Click (on folder): Still works for some, but if you are keyboard-only, try focusing the folder and using the Right/Left Arrow keys.
The folder elements no longer have a role="button" or tabindex="0". The event listener is attached to a parent div rather than the specific element containing the text/icon. The interactive area has been swapped for a non-semantic element.
Recommendation: Hope this gets resolved soon! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Bug
GitHub Feature Area
Pull Requests
Body
The files explorer sidebar in pull requests seems to have "lost" some functionality in the last week or two - I'm attaching the screenshot of what Vimium can focus, which no longer includes the folders. Previously the folders could be expanded/collapsed (very helpful for navigating the changed files list, especially for users who can't scroll easily) but this is no longer the case. I'm a keyboard-only user and didn't find any other accessibility tools that did anything different. Could you please take a look?

Beta Was this translation helpful? Give feedback.
All reactions