github mui/base-ui v1.7.0

4 hours ago

General changes

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

Accordion

  • Remove the implicit dir attribute from <Accordion.Root> (#5117) by @chuganzy

Alert Dialog

  • Prevent <AlertDialog.Root> from reopening after remounting with a reused handle (#5109) by @michaldudak

Autocomplete

Avatar

  • Show <Avatar.Fallback> immediately when delay={0} (#5147) by @chuganzy

Button

  • Fix keyboard click handling for custom elements (#4838) by @atomiks

Checkbox

Checkbox Group

Combobox

Composite

  • Fix nested list reorder detection (#5156) by @jjenzz
  • Always skip natively disabled items during list navigation (#5185) by @atomiks
  • Fix scroll alignment for RTL direction in scrollIntoViewIfNeeded (#5234) by @sai6855
  • Simplify keyboard bookkeeping (#5249) by @atomiks

Dialog

Drawer

  • Prevent <Drawer.Root> from reopening after remounting with a reused handle (#5109) by @michaldudak
  • Fix unreliable swipe-to-open gestures (#5105) by @atomiks
  • Fix popup flashing fully open for a frame on swipe area re-grab (#5112) by @atomiks
  • Deduplicate swipe math to reduce bundle size (#5181) by @atomiks
  • Fix scroll handling when focus moves while the virtual keyboard is open (#5179) by @atomiks
  • Fix cross-axis scroll blocked on iOS below the touchmove slop (#5257) by @atomiks
  • Fix snap point jump when pinned pointer moves leave the drag offset unchanged (#5308) by @atomiks
  • Fix Shadow DOM swipe gestures (#5360) by @atomiks

Field

Fieldset

Form

Menu

  • Ignore pinch-zoom shifting (#4485) by @atomiks
  • Cancel stale submenu hover-open when Chrome drops mouseleave (#5153) by @atomiks
  • Fix exit animation not running on uncheck of item (#5252) by @sai6855
  • Fix duplicate onOpenChange calls when closing a submenu (#5178) by @atomiks
  • Fix VoiceOver announcement when opening a submenu (#5342) by @atomiks
  • Propagate disabled state to items (#5363) by @chuganzy
  • Open submenus on Android TalkBack press (#5384) by @atomiks
  • Prevent <Menu.Root> from reopening after remounting with a reused handle (#5149) by @michaldudak
  • Widen trigger slip-out release tolerance (#5159) by @atomiks

Meter

Navigation Menu

Number Field

OTP Field

  • Keep focus on the invalid field when autoSubmit is blocked (#5089) by @lyzno1

Popover

Preview Card

  • Prevent <PreviewCard.Root> from reopening after remounting with a reused handle (#5149) by @michaldudak

Progress

Radio Group

Scroll Area

  • Fix thumb-drag divide-by-zero and per-scroll re-render (#5099) by @atomiks
  • Fix scrollbar visibility during touch scrolling on iOS (#5157) by @atomiks
  • Add WebKit overscroll feedback to <ScrollArea.Thumb> (#5145) by @atomiks
  • Reduce bundle size (#5217) by @atomiks
  • Prevent scroll snapping while dragging the thumb (#5259) by @atomiks
  • End thumb drag when the primary button is no longer held (#5374) by @atomiks

Select

Slider

Switch

Tabs

Toast

  • Fix remaining toast timer calculation (#5261) by @sai6855
  • Reduce bundle size (#5219) by @atomiks
  • Render content passed through the render prop in <Toast.Title>, <Toast.Description>, and <Toast.Action> (#5210) by @m2na7
  • Fix re-adding a closing toast (#5258) by @atomiks
  • Fix swipe direction locking for two-axis swipes (#5295) by @sai6855
  • Fix <Toast.Provider> prop effect ordering (#5338) by @atomiks

Toggle Group

Toolbar

Tooltip

  • Prevent <Tooltip.Root> from reopening after remounting with a reused handle (#5149) by @michaldudak

All contributors of this release in alphabetical order: @arikchakma, @atomiks, @bernardobelchior, @brijeshb42, @chuganzy, @DiegoAndai, @DreierF, @flaviendelangle, @jjenzz, @lyzno1, @m2na7, @mdm317, @michaldudak, @nami8824, @obeattie, @sai6855, @sarthakmalik0810

Don't miss a new base-ui release

NewReleases is sending notifications on new releases.