npm / @radix-ui/react-scroll-area
@radix-ui/react-scroll-area
What changed in @radix-ui/react-scroll-area 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-19.
1 security2 new APIs and options1 performance1 behavior and defaults9 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@radix-ui/react-scroll-area 114 changes
Security 1
Packages are re-released through CI with provenance attestations, allowing developers to verify their origin.
New APIs and options 2
Added a part that lets consumers own the wrapper element implicitly rendered by ScrollArea.Viewport.
Pass this prop to prevent the viewport from rendering its implicit content element when using ScrollArea.Content.
Performance 1
Improved tree-shaking lets bundlers drop unused components, reducing output for applications that use only part of the package.
Behavior and default changes 1
The viewport style tag is stabilized unless the nonce changes.
Fixes and other changes 9
All optional types now allow explicit undefined for compatibility with TypeScript's exactOptionalPropertyTypes flag.
Fixed a bug caused by incorrect tree-shaking in SWC-minified code.
Fixed prop merging so asChild on the viewport applies props to the consumer's element instead of the implicit content element.
Reverted breaking changes that caused compatibility issues with React Server Components.
Resets to 0 when the corner is removed, preventing a permanent gap on the remaining scrollbar.
Resets to 0 when the corner is removed, preventing a permanent gap on the remaining scrollbar.
Fixed an infinite re-render loop in React 19 caused by unstable composed ref callback references.
Fixed Duplicate index signature errors that surfaced when consuming multiple packages together.
Fixed missing data-state attributes on Scroll Area scrollbars.