Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(web): show scrollbar for wide markdown tables #8868

MergedUtkarshUsername(GitHub profile, opens in a new tab)merged 2 commits intomain fromrefs/pull/8868/headmerged by maria-rcks View on GitHub

What Changed

Markdown tables now use the shared scroll area's visible scrollbar instead of explicitly hiding all scrollbars. Wide tables retain the existing horizontal scrolling and scroll-fade behavior while exposing the horizontal scrollbar.

The scrollbar appears only on hovering.

Why

Tables with many columns overflow the chat message width, but the table renderer opted into hidden scrollbars. This made horizontal scrolling undiscoverable, especially for users without a trackpad or horizontal mouse wheel. Removing that opt-out uses the existing shared scrollbar implementation and keeps the change scoped to markdown tables.

UI Changes

Before: Wide markdown tables could scroll horizontally, but no horizontal scrollbar was visible. T3_Code_(Nightly)_N0WpuDOzPA

After: Wide markdown tables show the shared horizontal scrollbar on hovering when their content overflows. T3_Code_(Nightly)_nehkHivYBL

https://github.com/user-attachments/assets/870ee43e-ea56-48ff-8b62-ca973c17b1a5

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes

Tested with:

  • vp lint apps/web/src/components/ChatMarkdown.tsx --report-unused-disable-directives
  • vp run --filter @t3tools/web typecheck

Implemented with gpt-5.6-sol via the Codex harness.


Note

Low Risk Single-prop UI tweak in markdown table rendering with no auth, data, or API impact.

Overview Wide chat markdown tables no longer pass hideScrollbars on their wrapping ScrollArea, so horizontal overflow uses the app’s normal scrollbars instead of hiding them.

chainVerticalScroll and scrollFade are unchanged; only the scrollbar visibility opt-out is removed in MarkdownTable inside ChatMarkdown.tsx.

Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 07320d9d98a0a35ecd692b31fcc0fa021adbd54f. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).

Note

Show scrollbars for wide markdown tables in MarkdownTable

Removes the hideScrollbars prop from the ScrollArea in ChatMarkdown.tsx, so wide tables use the default scrollbar visibility.

Macroscope summarized 07320d9.
    1. coderabbitai[bot](GitHub profile, opens in a new tab)commented

      Important

      Review skipped

      Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

      ⚙️ Run configuration

      Configuration used: Repository UI

      Review profile: CHILL

      Plan: Pro Plus

      Run ID: 152a5296-bff2-4d37-840e-7e8a05a17503

      You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

      Use the checkbox below for a quick retry:

      • 🔍 Trigger review

      Warning

      Your free Security trial is over. An organization admin can activate Security or dismiss this notice.


      Comment `@coderabbitai help` to get the list of available commands.
    2. github-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:trusted

    3. Approvability

      Verdict: Approved at 07320d9

      Macroscope's review found this PR approvable — This is a one-file, narrowly scoped UI fix that removes an explicit scrollbar-hiding override from markdown tables while preserving their existing scrolling and fade behavior. It has no schema, security, billing, authentication, deployment, or product-setting default impact.

      You can add or adjust custom eligibility rules. [Learn more](https://docs.macroscope.com/approvability#example-custom-eligibility-rules).
    4. maria-rcks merged this35da581

    5. maria-rcks closed this

Sign in to join this conversation.