Skip to content

[combobox][autocomplete][select] Fix listbox separator semantics - #5399

Merged
atomiks merged 5 commits into
mui:masterfrom
sarthakmalik0810:codex/listbox-context-separators
Aug 3, 2026
Merged

atomiks merged 5 commits into
mui:masterfrom
sarthakmalik0810:codex/listbox-context-separators

Conversation

@sarthakmalik0810

@sarthakmalik0810 sarthakmalik0810 commented Aug 2, 2026 •

Copy link
Copy Markdown
Contributor

Select.Separator, Combobox.Separator, and Autocomplete.Separator currently reuse Separator, which exposes role="separator" when rendered inside a listbox. This is flagged by axe DevTools and ARC Toolkit.

Changes

  • Render listbox separators with role="presentation".
  • Share the implementation across Select, Combobox, and Autocomplete.
  • Preserve the existing public props, types, orientation, and data-orientation.

Note for reviewers: This does not remove or change any public props and is not a breaking change. The orientation prop remains supported and is not deprecated. If reviewers prefer deprecating it for listbox separators, we can address that in this PR.

Fixes #5398

@pkg-pr-new

pkg-pr-new Bot commented Aug 2, 2026 •

Copy link
Copy Markdown
  • base-ui-tanstack-start

  • vite-css-base-ui-example

    pnpm add https://pkg.pr.new/mui/base-ui/@base-ui/react@5399
    
    pnpm add https://pkg.pr.new/mui/base-ui/@base-ui/utils@5399
    

commit: de2664d

@code-infra-dashboard

code-infra-dashboard Bot commented Aug 2, 2026 •

Copy link
Copy Markdown

Bundle size

Bundle Parsed size Gzip size
@base-ui/react 🔺+198B(+0.04%) 🔺+63B(+0.04%)

Details of bundle changes

Performance

Total duration: 1,159.50 ms ▼-325.25 ms(-21.9%) | Renders: 78 (+0) | Paint: 1,820.06 ms ▼-497.54 ms(-21.5%)

Test Duration Renders
Tabs mount (200 instances) 178.69 ms ▼-76.31 ms(-29.9%) 3 (+0)
Select mount (200 instances) 143.72 ms ▼-43.94 ms(-23.4%) 3 (+0)
Scroll Area mount (300 instances) 80.46 ms ▼-34.50 ms(-30.0%) 3 (+0)
Dialog mount (300 instances) 46.94 ms ▼-20.70 ms(-30.6%) 1 (+0)
Popover mount (300 instances) 67.16 ms ▼-19.82 ms(-22.8%) 1 (+0)

…and 4 more (+6 within noise) — details


Check out the code infra dashboard for more information about this PR.

@netlify

netlify Bot commented Aug 2, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for base-ui ready!

Name Link
🔨 Latest commit de2664d
🔍 Latest deploy log https://app.netlify.com/projects/base-ui/deploys/6a7127e64559cf0008e967e5
😎 Deploy Preview https://deploy-preview-5399--base-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@sarthakmalik0810
sarthakmalik0810 marked this pull request as ready for review August 2, 2026 13:07
@sarthakmalik0810
sarthakmalik0810 force-pushed the codex/listbox-context-separators branch from 1b344c9 to 80f2c77 Compare August 2, 2026 13:13
@sarthakmalik0810 sarthakmalik0810 changed the title [combobox] [autocomplete] [select] Fix listbox separator semantics [combobox][autocomplete][select] Fix listbox separator semantics Aug 2, 2026
@sarthakmalik0810
sarthakmalik0810 force-pushed the codex/listbox-context-separators branch from 80f2c77 to 4b0fc02 Compare August 2, 2026 18:05
@atomiks

atomiks commented Aug 3, 2026 •

Copy link
Copy Markdown
Contributor

PR review

Nothing is merge-blocking: the semantic fix is valid, role="presentation" correctly suppresses both the default <div> and implicit semantics from replacement elements such as <hr>, and removing aria-orientation is correct once the divider is absent from the accessibility tree. The orientation prop should remain as visual state, and the focused Select and Combobox tests adequately cover the shared Autocomplete behavior. The remaining issues are small implementation and documentation nits.

Simplifications (1)

1. 🟡 Share the listbox separator implementation

Location: packages/react/src/select/separator/SelectSeparator.tsx:1 and packages/react/src/combobox/separator/ComboboxSeparator.tsx:1

export const SelectSeparator = React.forwardRef(function SelectSeparator(
  componentProps: SelectSeparator.Props,
  forwardedRef: React.ForwardedRef<HTMLDivElement>,
) {

SelectSeparator and ComboboxSeparator are effectively identical runtime components with different names and documentation links. The bundle report shows +360 B parsed / +100 B gzip, which is small but avoidable for a purely semantic correction.

Failure scenario: Each listbox primitive ships and maintains a duplicate component body, adding bundle bytes and allowing the implementations to drift even though their behavior is identical.

Fix: Extract one internal ListboxSeparator implementation and alias it from Select, Combobox, and Autocomplete, while retaining the component-specific exported type aliases.

Docs (1)

1. 🟡 Make the shared separator description neutral

Location: packages/react/src/combobox/separator/ComboboxSeparator.tsx:6

/**
 * A visual separator between combobox items.
 * Renders a `<div>` element.
 */

Autocomplete reuses ComboboxSeparator, so its generated API currently describes Autocomplete.Separator as being “between combobox items.” That leaks the implementation source into a different public component namespace.

Failure scenario: A reader of the Autocomplete API sees Combobox-specific terminology and may reasonably wonder whether the documented component or generated API mapping is incorrect.

Fix: Use a neutral shared description such as “A visual separator between items.”

Verdict

Approve after nits - the accessibility approach is correct; only the duplicated runtime implementation and shared wording should be cleaned up before merging.


🤖 Review generated with Codex

@sarthakmalik0810
sarthakmalik0810 force-pushed the codex/listbox-context-separators branch from 4b0fc02 to a3f8d1d Compare August 3, 2026 07:12
@sarthakmalik0810
sarthakmalik0810 force-pushed the codex/listbox-context-separators branch from a3f8d1d to d956016 Compare August 3, 2026 07:13
@sarthakmalik0810

Copy link
Copy Markdown
Contributor Author

@atomiks Thanks for the review. I extracted the shared listbox separator implementation into packages/react/src/utils/listbox-separator. Select, Combobox, and Autocomplete now expose it through their own Separator parts while preserving their existing public props and types.

@zannager zannager added the component: combobox Changes related to the combobox component. label Aug 3, 2026
@atomiks atomiks added component: select Changes related to the select component. type: bug It doesn't behave as expected. component: autocomplete Changes related to the autocomplete component. labels Aug 3, 2026

@atomiks atomiks left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix @sarthakmalik0810

@atomiks
atomiks merged commit becc19a into mui:master Aug 3, 2026
9 checks passed
winetree94 added a commit to tinyrack-net/design that referenced this pull request Aug 6, 2026
…ntics (#425)

* chore(deps): update low-risk npm minor and patch versions

Bring the workspace up to the latest patch and minor releases that carry
no API or rendering risk: @types/react 19.2.18, @types/react-dom 19.2.4,
@vitejs/plugin-react 6.0.5, playwright 1.62.1, shiki and @shikijs/* 4.4.2,
tsdown 0.22.14, vite 8.2.0, lint-staged 17.3.0, isbot 5.2.1 and
wrangler 4.118.0.

wrangler 4.118.0 resolves miniflare 5.20260730.0-alpha, so the
minimumReleaseAgeExclude entries move with it.

typescript, sharp, @biomejs/biome, lucide and @base-ui/react are held back
for their own commits.

* chore(deps): align sharp and biome across the workspace

sharp moves to 0.35.3 in ui_web and homepage, matching the version docs
already used, so the lockfile carries one set of platform binaries. Its
typings no longer expose the compiler namespace through the default
import, so the brand raster script imports Metadata as a named type.

@biomejs/biome moves to 2.5.7 in both the root and ui_web, which reformats
several test files and surfaces four new diagnostics:

- noUselessStringRaw is turned off. The Flutter documentation samples use
  String.raw uniformly across all 178 snippets so that adding a backslash
  to any one of them stays literal; removing it from the 155 that happen
  to have no escape today would make that a silent hazard.
- noImportantStyles is suppressed inline in steps.css, where !important
  is what lets the marker line up with MDX prose typography set at equal
  specificity.
- The two noUnsafeOptionalChaining hits in the toast tests become the
  non-optional casts the surrounding assertions already use.
- The redundant fragment in the code test is dropped.

homepage stays on typescript 6.0.3 for now; see the follow-up.

* chore(deps): move homepage to typescript 7.0.2

homepage was the last package on typescript 6. Aligning it needed more
than a version bump: typescript 7 is the native rewrite and publishes no
standalone parser, so the structure audits that read authored source
through ts.createSourceFile, ts.forEachChild and the ts.is* predicates had
nothing to call. The unstable/ast entry point exports the predicates but
no parse function, and the sync API reaches a source file only through a
spawned server and a real project.

The audits themselves are parser-agnostic, so they now parse with
@babel/parser, which @vitejs/plugin-react already puts in the tree at
7.29.7. Kept at ^7 rather than the newer 8.0.4 so it dedupes onto that
copy instead of installing a second parser.

The translation is mechanical: VariableDeclarator/ObjectProperty replace
VariableDeclaration/PropertyAssignment, a generic child walk replaces
forEachChild, and a source slice replaces node.getText(). Two differences
are deliberate. Babel throws where the TypeScript parser recovered, so
parsing runs with errorRecovery and copy-ready snippets that are not
parsable fragments are skipped rather than failing the audit. Babel also
folds self-closing elements into JSXOpeningElement, so one predicate
covers what took two.

Each audit was checked against an injected violation to confirm it still
fails: a disallowed <table>, an overflow-auto className, the same markup
inside a template literal, an extra argTypes control with literal
options, and a one-shot isVisible assertion.

* chore(deps): update lucide to 1.28.0 on web and Flutter together

Nothing in the repo enforces that lucide-react and lucide_flutter agree;
the convention is only written down in the ui_flutter README, and the
pubspec carries a caret range while npm pins exactly, so the two can drift
apart silently. Moving both in one commit keeps component-owned glyphs
identical across the renderers.

intl and cupertino_icons pick up their latest patch in the same pass.

The web icon assertions still hold: the docs color scheme toggle finds
lucide-sun, lucide-moon and lucide-monitor, and the navigation menu finds
lucide-chevron-down. The Flutter goldens that draw LucideIcons.check and
chevronDown could not be checked here because this worktree has no Flutter
toolchain; CI covers them.

* chore(deps): update pnpm, Flutter and GitHub Actions pins

pnpm moves to 11.20.0 across the three manifests that declare it; CI reads
the version out of the root manifest, so nothing else changes. Flutter
moves to 3.44.8 in the five places that spell it out.

The actions move to actions/checkout 7.0.1, actions/setup-node 7.0.0,
actions/setup-java 5.7.0, pnpm/action-setup 6.0.10 and
subosito/flutter-action 2.23.0. Neither major affects this repo: the
checkout break tightens pull_request_target defaults and no workflow uses
that trigger, and setup-node drops its dummy NODE_AUTH_TOKEN export while
the publish workflows authenticate through OIDC trusted publishing
instead.

upload-artifact and download-artifact are already current. The
dart-lang/setup-dart publish workflow stays on its floating v1, which is
how that reusable workflow is meant to be referenced.

* chore(ci): add Dependabot configuration

Dependency updates were entirely manual, which is how the workspace ended
up with typescript, sharp and biome sitting at different versions across
packages.

One npm entry covers the whole pnpm workspace from the root. Patch and
minor updates are grouped into a single PR since they are verified by the
same build; majors stay separate.

Two dependencies are held back deliberately. @base-ui/react ships rendered
semantics changes in minor releases, so it is reviewed by hand against the
browser and parity suites. @types/node tracks the runtime, which
.node-version and the engines field pin to 24.

lucide_flutter is excluded from the pub entry because it has to move in
the same commit as lucide-react to keep glyphs matching across renderers,
which an automated per-ecosystem PR cannot do.

* feat(ui)!: align listbox separator semantics with @base-ui/react 1.7.0

Base UI 1.7.0 renders the Select, Combobox and Autocomplete separators
with role="presentation" (mui/base-ui#5399). A separator is not a valid
child of a listbox, so the old role handed assistive technology an element
the role does not permit there; axe DevTools and ARC Toolkit both flag it.
Upstream preserved the props, types, orientation and data-orientation.

Only TRSelect.Separator picked the fix up on its own, because it is the
one part that wraps the Base UI primitive. TRCombobox.Separator and
TRAutocomplete.Separator routed through Tinyrack's own TRSeparator, which
defaults to role="separator", while both are designed to sit inside a List
that Base UI renders as a listbox. Upgrading alone would have left the
three sibling components disagreeing about the same contract, so both now
wrap their Base UI part instead.

That removes the role escape hatch those two used to inherit from
TRSeparatorProps, which is the breaking part: there is no longer a way to
put role="separator" back inside a listbox. The rendered class names are
deliberately unchanged, since the list styles them through .tr-separator,
so the styling contract and the painted line stay as they were.

The select assertion moves to presentation, and the combobox and
autocomplete tests gain role assertions they never had. Autocomplete had
no separator test at all, so its semantics could have regressed unnoticed.
Each of the three was checked by inverting the assertion back to
'separator' and confirming it fails.

Menu, ContextMenu and Toolbar separators are untouched; separator is valid
inside a menu or a toolbar and upstream left them alone.

* fix(flutter): keep the intl floor below the Flutter SDK pin

flutter_localizations pins intl to exactly 0.20.2 from the Flutter SDK, so
requiring ^0.20.3 made version solving fail for the example app and would
have made the published tinyrack_ui package unsolvable for any consumer
that localizes. Every Flutter CI job failed on it.

Raising the floor bought nothing in the first place: ^0.20.2 already admits
0.20.3, so pub picks the newest version the SDK allows. Dependabot would
reopen the same bump, so intl is excluded from both pub entries.
arturbien added a commit to whopio/frosted-ui that referenced this pull request Aug 6, 2026
<!-- CURSOR_AGENT_PR_BODY_BEGIN -->
## Summary

Upgrades `@base-ui/react` from `^1.6.0` → `^1.7.0` (latest as of Aug 4,
2026).

No Frosted UI source changes were required. Validated locally:
- `tsc` (CJS + ESM) ✅
- `eslint` + `stylelint` ✅
- `vitest` — 312/312 tests passing ✅

Sources: [Base UI v1.7.0 release
notes](https://base-ui.com/react/overview/releases/v1-7-0), [GitHub
release](https://github.com/mui/base-ui/releases/tag/v1.7.0),
[CHANGELOG](https://github.com/mui/base-ui/blob/master/CHANGELOG.md).

---

## Breaking changes

**Official changelog marks no 🚨 breaking changes in v1.7.0.**

However, there are behavioral, API, and type changes consumers (and
Frosted UI wrappers) should be aware of:

### Behavioral / DOM changes (potentially breaking in practice)

1. **`Accordion.Root` no longer sets an implicit `dir` attribute**
([#5117](mui/base-ui#5117))
- Previously `Accordion.Root` wrote `dir` onto the root. Direction now
comes from the document / ancestor only.
- Impact: CSS/JS that depended on `Accordion.Root[dir]` may stop
matching. Pass `dir` explicitly if needed.

2. **`Combobox.Input` / `Autocomplete.Input` no longer inject
`type="text"`** ([#5104](mui/base-ui#5104))
- Native `<input>` still defaults to text, but the attribute is no
longer present in the DOM.
- Impact: selectors like `input[type="text"]` will no longer match
unless `type="text"` is passed explicitly.

3. **Listbox separators use `role="presentation"`**
([#5399](mui/base-ui#5399))
- `Select.Separator`, `Combobox.Separator`, and `Autocomplete.Separator`
no longer expose `role="separator"` (axe/ARC compliance).
- `Select.Separator` switched from a re-export of the generic
`Separator` to a dedicated listbox separator component.
   - Public props (`orientation`, etc.) are preserved.

4. **Checkbox Group / Radio Group form values aligned with native
submission** ([#5218](mui/base-ui#5218),
[#5238](mui/base-ui#5238))
- Form payload shape may change vs prior Base UI behavior. Verify any
custom form serialization that assumed the old values.

5. **Popup / overlay remount + handle reuse**
- Dialog, Alert Dialog, Drawer, Menu, Popover, Preview Card, Tooltip no
longer reopen after remounting with a reused handle
([#5109](mui/base-ui#5109),
[#5149](mui/base-ui#5149)).

6. **Disabled state inheritance**
- `Combobox.Item` / `Select.Item` inherit disabled from Root
([#5365](mui/base-ui#5365)).
- `Menu` propagates disabled state to items
([#5363](mui/base-ui#5363)).

7. **`Field` keeps invalid state when disabled**
([#5116](mui/base-ui#5116)).

8. **`Select` no longer force-mounts the popup on programmatic value
changes** ([#5119](mui/base-ui#5119)).

### API additions / changes

| Area | Change |
|---|---|
| Autocomplete / Combobox | New `ChangeEventReason` values:
`"input-press"`, `"cancel-open"`
([#5356](mui/base-ui#5356),
[#5376](mui/base-ui#5376)) |
| Autocomplete | New `form?: string` prop on Root (associates the
internal input with an external form) |
| Combobox | Exposes `aria-expanded` / expanded behavior for inline
comboboxes ([#5332](mui/base-ui#5332)) |
| Combobox / Autocomplete | New `.Separator` part |
| Select | Dedicated `.Separator` part (listbox-safe semantics) |
| Toast | `render` prop content now works on `Toast.Title`,
`Toast.Description`, `Toast.Action`
([#5210](mui/base-ui#5210)) |
| Modal docs | Touch-device modal scroll behavior clarified for Combobox
/ Select |

### Type changes

1. **`render` callback props specialized to the rendered element**
([#5104](mui/base-ui#5104))
- Third generic of `BaseUIComponentProps` now types callback props as
the intrinsic element for:
     - `Avatar.Image` → `'img'`
     - `Form` → `'form'`
     - `NumberField.Input` / `OTPField.Input` → `'input'`
- `PreviewCard.Trigger` / `Menu.LinkItem` / `NavigationMenu.Link` /
`Toolbar.Link` → `'a'`
- Polymorphic parts (e.g. `Combobox.Input`, `Field.Control`, button
parts via `nativeButton`) remain loosely typed as `HTMLProps`.
- May surface new TS errors if a `render` callback assumed looser props
(or the reverse: more precise props like `src`/`href` are now
available).

2. **Implementation-only types stripped from published `.d.ts`**
([#5165](mui/base-ui#5165))
   - `@internal` declarations are no longer emitted.
- Deep imports of internals (e.g. previously published helpers like
`FloatingFocusManager`, `useAnchorPositioning`, numeral utils, store
helpers) will fail typechecking if used.
   - Frosted UI does not depend on these internals.

3. **`AutocompleteRootChangeEventReason` /
`ComboboxRootChangeEventReason` union widened**
- Adds `"input-press"` and `"cancel-open"`. Exhaustive `switch`/`if`
chains over reasons may need updates.

4. **Internal path moves** (only relevant for deep imports)
- e.g. `useAnchorPositioning` moved under `internals/`; several utils
relocated/removed from the public declaration graph.

### Frosted UI impact assessment

| Concern | Status |
|---|---|
| Compile / typecheck against 1.7.0 | Passes with no source edits |
| Existing `DialogRootActions` / `AlertDialogRootActions` imports |
Still exported |
| `useRender` / `mergeProps` | Unchanged public surface |
| Autocomplete `keepHighlight` stories | Still valid (Autocomplete
retains the prop; Combobox had removed it earlier in 1.6) |
| Select.Separator wrapper | Compatible; benefits from a11y role fix
automatically |

---

## What's new in `@base-ui/[email protected]`

### Features / enhancements
- Typed `render` callback props based on the rendered element
- Autocomplete locale-aware filtering
- Autocomplete `form` prop for associating an external form
- New Combobox / Autocomplete / Select listbox `Separator` parts
(presentation role)
- Combobox inline `aria-expanded` exposure
- New open-change reasons: `input-press`, `cancel-open`
- Scroll Area WebKit overscroll feedback on Thumb
- Avatar Fallback shows immediately when `delay={0}`
- Toast `render` prop support on Title / Description / Action

### Fixes (high level)
- Popup positioning: collision padding off-by-one, unwanted flip with
capped scrollable content, left-anchored auto-resize origin,
unpositioned popups at viewport origin, canceled-exit unmount completion
- Focus restoration after keyboard close in Safari/Firefox
- Dialog touch outside-press without backdrop; scroll-lock handoff with
external overlays
- Drawer swipe/open reliability, iOS cross-axis scroll, Shadow DOM
gestures, virtual keyboard scroll
- Menu/submenu: duplicate `onOpenChange`, VoiceOver, TalkBack,
pinch-zoom, Chrome mouseleave
- Combobox/Select highlight/filter/scroll fixes (Safari hover highlight,
grouped limit, query clear, disabled inheritance)
- Field `data-dirty` for null-valued controls; Form focuses first
invalid field in document order
- Number Field multi-character format symbol editing
- Progress custom `min`/`max` semantics
- Slider assorted fixes; Tabs Suspense pre-hydration indicator
- Toast timer / swipe / re-add / provider effect ordering
- Navigation Menu frozen state when open trigger unmounts
- Radio unnecessary ARIA attributes removed; internal input clicks no
longer bubble (Checkbox/Switch/Radio)

### Performance / bundle size
Across many components Base UI reduced parsed bundle size and avoided
redundant work:
- Shared popup / store / dialog / popover / field / form / meter /
progress / scroll-area / slider / switch / tabs / toast / toolbar /
toggle-group size reductions
- Avoid redundant re-renders during lazy flipping
- Remove redundant lifecycle synchronization
- Exclude prehydration scripts from client bundles (Slider, Tabs)
- Deduplicate Combobox/Select/Autocomplete handlers and swipe math

---

## Full v1.7.0 changelog (from upstream)

### General
- Restore visible focus after keyboard close in Safari and Firefox
(#5093)
- Type `render` callback props based on the rendered element (#5104)
- Reduce popup / store / shared popup bundle size (#5233, #5250, #5192)
- Keep unpositioned popups at the viewport origin (#5299)
- Correct layout and passive effect timing (#5337)
- Remove redundant lifecycle synchronization (#5341)
- Prevent stale cleanup from clearing registered part IDs (#5340)
- Complete popup unmounting after a canceled exit transition (#5401)
- Fix rendered trigger ID ownership (#5110)
- Prevent unwanted flip with capped scrollable content (#5120)
- Fix `collisionPadding` off-by-one on the biased side (#5143)
- Mount popup subtrees synchronously when opening in React 17 (#5309)
- Fix auto-resize origin for left-anchored popups (#5370)
- Avoid redundant re-renders during lazy flipping (#5372)
- Strip implementation-only types from published `.d.ts` files (#5165)
- Fix `usePreviousValue` equality comparison (#5264)

### Components
- **Accordion:** Remove implicit `dir` on Root (#5117)
- **Alert Dialog / Dialog / Drawer / Menu / Popover / Preview Card /
Tooltip:** Prevent reopen after remount with reused handle (#5109,
#5149)
- **Autocomplete:** Locale filtering; `input-press` / `cancel-open`
reasons; reset scroll on filter; separator semantics
- **Avatar:** Fallback immediate at `delay={0}`
- **Button:** Keyboard click for custom elements
- **Checkbox / Checkbox Group / Switch / Radio Group:** Click bubbling,
validation, native form values, bundle size
- **Combobox:** Filtering/highlight fixes; `expanded` for inline;
disabled inheritance; separator; portalled content; bundle cleanup
- **Composite:** Nested reorder, disabled nav skip, RTL scroll alignment
- **Drawer:** Swipe/open, iOS scroll, Shadow DOM, snap points, bundle
- **Field / Fieldset / Form:** Invalid-when-disabled, `data-dirty`,
focus first invalid, bundle
- **Menu:** Pinch-zoom, submenu hover/VO/TalkBack, disabled propagation,
exit animation
- **Meter / Progress / Toggle Group:** Formatting / min-max / bundle
- **Navigation Menu:** Frozen menu on trigger unmount; pinch-zoom
- **Number Field / OTP Field:** Format symbols; invalid autofocus when
autoSubmit blocked
- **Scroll Area:** Thumb drag, iOS visibility, overscroll feedback, snap
while dragging
- **Select:** Highlight/disabled/mount/separator fixes
- **Slider / Tabs:** Assorted fixes; Suspense indicator; exclude
prehydration from client bundles
- **Toast:** Timer, swipe locking, re-add closing toast, `render` prop
content, provider effect order

---

## Test plan

- [x] Bump `@base-ui/react` to `^1.7.0` and refresh lockfile
- [x] `pnpm --filter=frosted-ui exec tsc --project tsconfig-esm.json
--noEmit`
- [x] `pnpm --filter=frosted-ui build:js` (CJS + ESM)
- [x] `pnpm --filter=frosted-ui lint`
- [x] `pnpm --filter=frosted-ui test` (312 tests)
- [ ] CI green on this PR
- [ ] Spot-check Storybook surfaces that wrap Base UI heavily (Combobox,
Select, Dialog, Menu, Toast, Accordion) if desired before merge

<!-- CURSOR_AGENT_PR_BODY_END -->

<div><a
href="https://cursor.com/agents/bc-b799cb20-62b5-4aad-9033-e9e7a838d771?cursor_ref=pr_footer&cursor_cta=open_in_web"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-web-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-web-light.png"><img
alt="Open in Web" width="114" height="28"
src="https://cursor.com/assets/images/open-in-web-dark.png"></picture></a>&nbsp;<a
href="https://cursor.com/background-agent?bcId=bc-b799cb20-62b5-4aad-9033-e9e7a838d771&cursor_ref=pr_footer&cursor_cta=open_in_cursor"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-cursor-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-cursor-light.png"><img
alt="Open in Cursor" width="131" height="28"
src="https://cursor.com/assets/images/open-in-cursor-dark.png"></picture></a>&nbsp;</div>

Co-authored-by: Cursor Agent <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: autocomplete Changes related to the autocomplete component. component: combobox Changes related to the combobox component. component: select Changes related to the select component. type: bug It doesn't behave as expected.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[combobox] [autocomplete] [select] Avoid exposing role="separator" inside listboxes

3 participants