SegmentedControl: colunas iguais truncam e colam rótulos longos no celular
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 45/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- css, typescript
- Bereich
- frontend
Rechercherichtung
Start from the SegmentedControl component source in the package and the equal-width column styling it applies, then reproduce with three long labels in a ~340 px column. The issue offers three acceptable outcomes (content-sized columns with scroll snap, stacking below a breakpoint, or an overflow prop), so a maintainer must pick one before code is written; the 44 px touch target and minimum padding/gap apply whichever is chosen. Done means long labels are readable and tappable at 390 px without local CSS overrides like the Tabs workaround on the Conectar IA page.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Problema
SegmentedControl força colunas de largura igual. Com rótulos de tamanhos diferentes num container estreito, os textos são truncados e encostam uns nos outros sem espaçamento. Exemplo: "Bot de atendimento", "Conectar um número" e "Campanha com opt-in" a 390 px. Não há quebra de linha nem rolagem.
Versão
@codeatlasdev/ui 4.6.0
Reproduzir
SegmentedControl com 3 itens de rótulos longos dentro de uma coluna de cerca de 340 px.
Esperado
Uma destas opções: colunas no tamanho do conteúdo, com rolagem horizontal e snap quando não couber; empilhar abaixo de um breakpoint; ou uma prop overflow="scroll" | "stack". Em toque, os itens precisam de padding e gap mínimos e alvo de 44 px.
Como o wi contorna hoje
Na página Conectar IA trocamos o SegmentedControl por Tabs, e abaixo de 600 px os itens empilham (CSS local).
- Vorherrschende Sprache
- TypeScript
- Sterne
- 6
- Forks
- 3
- Ø Merge
- 5 Std. 21 Min.
- Gemergte PRs (30 T.)
- 378
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus codeatlasdev/ui
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
codeatlasdev/ui#1340 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area:a11y area:components bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
codeatlasdev/ui#1336 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 77/100
codeatlasdev/ui#1329 ·
Maintainer antworten meist innerhalb von 1 Tag
-
good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
codeatlasdev/ui#1292 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
area:components enhancement good first issue
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
codeatlasdev/ui#1198 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in codeatlasdev/ui
Ähnliche Issues
-
bug frontend
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
CivicTechWR/accessible-housing-portal#578 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
nekko-labs/nekko-agent#2998 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Console writes URL credentials to the local log, though AGENTS.md says secrets never reach diskOffen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 86/100
sandbox-quantum/switch#2163 ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement ux
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
lolimmlost/aidj#433 ·
Maintainer antworten meist innerhalb von 1 Tag
-
test: ipcShownDialogKeys.test.tsx can fail the unit run with 'window is not defined' after it endsOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 1 Tag