Skip to content

Conversation

Mohit5Upadhyay
Copy link

@Mohit5Upadhyay Mohit5Upadhyay commented Aug 7, 2025

Initial checklist

  • I read the support docs
  • I read the contributing guide
  • I agree to follow the code of conduct
  • I searched issues and discussions and couldn’t find anything or linked relevant results below
  • I made sure the docs are up to date
  • I included tests (or that’s not needed)

Description of changes

This PR fixes Issue: #2630 , a mobile responsiveness issue on the /table-of-components page of the MDX site. Previously, on small screens, the table caused horizontal page overflow, resulting in a poor user experience and causing Horizontal scrolling.

Update

overflow-component-table.mp4

Closes #2630

@github-actions github-actions bot added 👋 phase/new Post is being triaged automatically 🤞 phase/open Post is being triaged manually and removed 👋 phase/new Post is being triaged automatically labels Aug 7, 2025
Copy link

codecov bot commented Aug 7, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (def2cba) to head (56bb886).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #2631   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           21        21           
  Lines         2650      2650           
  Branches         2         2           
=========================================
  Hits          2650      2650           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@wooorm
Copy link
Member

wooorm commented Aug 7, 2025

I am not entirely sure this is a problem that needs fixing? 🤔

@Mohit5Upadhyay
Copy link
Author

Thanks @wooorm! 🙏

I am not entirely sure this is a problem that needs fixing? 🤔

The issue primarily affects mobile users. On smaller screens, the table on the /table-of-components page overflows the viewport, resulting in full-page horizontal scrolling. This can negatively impact readability and overall user experience, especially on touch devices.

By wrapping the table in a scrollable container, the fix ensures:

  • Horizontal scroll is limited to the table itself, not the whole page.
  • The layout remains visually consistent across screen sizes.

Let me know your thoughts —

@remcohaszing
Copy link
Member

I like the change visually, but I think there should be a fix which doesn’t involve a media query. Just scroll the table whenever it overflows. Or use a grid instead of a table. Then the rows can be aligned vertically on a narrow viewport.

@wooorm
Copy link
Member

wooorm commented Aug 7, 2025

This can negatively impact readability and overall user experience, especially on touch devices.

Why? Things are readable and scrollable in both cases. There’s more scrolling if you try and fit it inside the parent.

@wooorm
Copy link
Member

wooorm commented Aug 29, 2025

Closing this for now. Thanks though!
I don’t think scrolling is a problem, if the solution also is scrolling.
I appreciate the videos. But it’s a big giant table. I’d love a fix that really improves readability!

@wooorm wooorm closed this Aug 29, 2025

This comment has been minimized.

@wooorm wooorm added the 🙅 no/wontfix This is not (enough of) an issue for this project label Aug 29, 2025
@github-actions github-actions bot added 👎 phase/no Post cannot or will not be acted on and removed 🤞 phase/open Post is being triaged manually labels Aug 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🙅 no/wontfix This is not (enough of) an issue for this project 👎 phase/no Post cannot or will not be acted on
Development

Successfully merging this pull request may close these issues.

Horizontal overflow on “Table of Components” page in mobile view
3 participants