Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Upgrade Base UI to 1.9.0

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

I maintainer di solito rispondono entro 6 giorni

Nessuno ha ancora preso questa issue.

Valutazione

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

Direzione di ricerca

Start by bumping @base-ui/react and @base-ui/utils in package.json, then check the listed components for breakage. Read menu/menu-content.tsx and context-menu/context-menu-content.tsx for the onItemHighlighted handlers, and look at the wrapper types for Combobox and Select. Done means the upgrade builds, the tests pass after any ScrollArea role updates, and disabled triggers look right. The issue says to wait until the open Base UI PRs merge first.

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

Descrizione

Base UI 1.9.0 is out (release notes). It lists no breaking changes. It needs @base-ui/utils 0.5.0.

Do this after the open Base UI PRs merge (#946, #948 to #961, #963), so the upgrade does not conflict with them.

Upgrade PR

  • Bump @base-ui/react to ~1.9.0 and @base-ui/utils to ~0.5.0.
  • Accordion and Collapsible triggers now get the native disabled attribute. Our .accordion-trigger:disabled and .trigger:disabled styles did not apply before and will apply now. Check that disabled triggers look right.
  • Autocomplete passes the originating event to onItemHighlighted, and typing reports the reason none. Check our handlers in menu/menu-content.tsx and context-menu/context-menu-content.tsx.
  • Combobox and Select accept readonly arrays for multiple values. Let our wrapper types accept readonly string[] too.
  • ScrollArea drops the viewport role. Update any tests that rely on it.

Follow-ups (separate PRs)

  • Menu filtering: Menu.FilterProvider, Menu.Input, and onItemHighlighted (preview). Our searchable Menu and ContextMenu combine Base UI Autocomplete with Menu. Moving to Base UI's own menu filtering could simplify both, and the item counter in #962. Wait until it leaves preview, or try it on a branch first.
  • eventDetails.preventUnmountOnClose() for Select, Combobox, and Autocomplete keeps the popup mounted after it closes. It could make the hidden registration pass in Select lighter. It does not cover the first open, so the pass is still needed.
  • Use the new CssVariables and DataAttributes type exports in the docs props.ts files.

Fixes that help open PRs

  • Combobox: stale chip focus after returning to the input (#954).
  • Drawer: virtual keyboard spacing, iOS focus, swipe velocity, and x/y options for data-base-ui-swipe-ignore (#956).
  • Item registration stays in sync under Strict Mode, and large lists mount faster (Select and Combobox).
Lingua principale
TypeScript
Stelle
69
Fork
13
Merge medio
4g 14h
PR unite (30g)
34

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 raystack/apsara

Tutte le issue di raystack/apsara

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.