Drop the Switch fork once Astryx forwards id to the checkbox

Aperta
#135 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
43/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
frontend

Direzione di ricerca

Read the fork at src/forks/Switch/ and the Form.Item wrapper, then inspect how Astryx 0.7.7 handles the id prop and touch presentation. The issue suggests either upstreaming the id fix or moving the workaround into the wrapper before deleting the fork; confirm which approach fits the project. Done means the native checkbox receives its id for label association and ui-common's Switch regains Astryx's touch behavior.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

ui-common forks Astryx's Switch (src/forks/Switch/) only so that a passed id reaches the native checkbox, which Form.Item needs for its label. Since #131 (Astryx 0.7.7) the fork leaves out upstream's touch presentation (useSwitchTouch: lift, drag-to-flip, spring, 44 px hit area), because those run on Astryx's private shared state.

  • Upstream the id fix to facebook/astryx (or move the workaround into the Form.Item wrapper), then delete the fork so ui-common's Switch gets Astryx's touch presentation back.
  • Raised in the ready-gate review of #131.
Lingua principale
TypeScript
Stelle
2
Fork
0
Merge medio
1g 1h
PR unite (30g)
35

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di lablup/ui-common

Tutte le issue di lablup/ui-common

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.