[Bug]: Settings scrollbar is flush with the dialog’s right border on macOS

Offen Anfängerfreundlich
#42,393 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Anfängerfreundlichkeit
72/100
Issue-Typ
Bug
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
css
Bereich
frontend

Rechercherichtung

Die Scrollbar-Styles stehen in apps/web/src/index.css, ungefähr in den Zeilen, auf die das Issue aus v0.1.11 verlinkt, die Thumb-Farbe und Eckenradius ohne rechten Abstand setzen. Beginne damit, den scrollbaren Bereich des Settings-Dialogs zu finden und die Regeln, die darauf auf macOS-Overlay-Scrollbars angewendet werden, und reproduziere dann den bündig anliegenden Thumb in der Desktop-App oder in einem Browser. Fertig ist, wenn der Thumb beim Scrollen mit einem sichtbaren Abstand zum rechten Rand des Dialogs sitzt und der Abstand gleichmäßig bleibt.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Before submitting
  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.
Area

apps/web

Steps to reproduce
  1. Open the T3 Code desktop app on macOS.
  2. Click the Settings gear in the lower-left corner and select Chat.
  3. With the window short enough for Chat settings to overflow, scroll down in the content pane so the vertical scrollbar is visible.
  4. Look at the gap between the scrollbar thumb and the right border of the Settings dialog.
Expected behavior

The vertical scrollbar thumb should sit slightly inside the right border of the Settings dialog, with a visible gap that matches the spacing of macOS overlay scrollbars. The gap should stay consistent as the pane scrolls.

Actual behavior

The thumb sits flush against the dialog's right border, both when the Chat pane first opens and after scrolling down to the Screen reader section. The thumb visually merges with the border and looks clipped at the bottom-right corner.

The v0.1.11 scrollbar styles set the thumb color and corner radius without a right inset. The visible issue here is at the Settings dialog boundary. The earlier app-wide inset proposal was closed in #29293.

Impact

Cosmetic issue

Version or commit

0.1.11 (T3 Code Beta desktop app)

Environment

macOS 27.0.1 (Apple silicon), with Show scroll bars set to When scrolling.

Screenshots, recordings, or supporting files

Chat settings after scrolling, with the vertical scrollbar flush against the right border

Workaround

The maintainer's comment on #29293 gives an optional theme CSS workaround for edge-to-edge scrollbars. The default Settings appearance above was reproduced without applying it.

Vorherrschende Sprache
TypeScript
Sterne
24.8k
Forks
6.4k
Ø Merge
1 Std. 13 Min.
Gemergte PRs (30 T.)
584

Entwicklungsumgebung

In Codespaces öffnen

Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus pingdotgg/t3code

Alle Issues in pingdotgg/t3code

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.