# What changed in @radix-ui/react-scroll-area

> 14 changes in @radix-ui/react-scroll-area 1 from its official release notes, upgrade guides and advisories: 1 security, 2 new APIs and options. Each one cited. Sources checked 2026-10-19. HTML: https://unstale.sh/npm/@radix-ui/react-scroll-area/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @radix-ui/react-scroll-area 1

### Security

- Packages are re-released through CI with provenance attestations, allowing developers to verify their origin. (1.2.16) — [release notes](https://github.com/radix-ui/primitives/blob/e46b65900b0c8243dad96dae0f1d44321fa1ff72/packages/react/scroll-area/CHANGELOG.md#1216)

### New APIs and options

- Added a part that lets consumers own the wrapper element implicitly rendered by ScrollArea.Viewport. (1.3.0) — [release notes](https://github.com/radix-ui/primitives/blob/e46b65900b0c8243dad96dae0f1d44321fa1ff72/packages/react/scroll-area/CHANGELOG.md#130)
- Pass this prop to prevent the viewport from rendering its implicit content element when using ScrollArea.Content. (1.3.0) — [release notes](https://github.com/radix-ui/primitives/blob/e46b65900b0c8243dad96dae0f1d44321fa1ff72/packages/react/scroll-area/CHANGELOG.md#130)

### Performance

- Improved tree-shaking lets bundlers drop unused components, reducing output for applications that use only part of the package. (1.2.15) — [release notes](https://github.com/radix-ui/primitives/blob/e46b65900b0c8243dad96dae0f1d44321fa1ff72/packages/react/scroll-area/CHANGELOG.md#1215)

### Behavior and default changes

- The viewport style tag is stabilized unless the nonce changes. (1.2.12) — [release notes](https://github.com/radix-ui/primitives/blob/e46b65900b0c8243dad96dae0f1d44321fa1ff72/packages/react/scroll-area/CHANGELOG.md#1212)

### Fixes and other changes

- All optional types now allow explicit undefined for compatibility with TypeScript's exactOptionalPropertyTypes flag. (1.4.0) — [release notes](https://github.com/radix-ui/primitives/blob/e46b65900b0c8243dad96dae0f1d44321fa1ff72/packages/react/scroll-area/CHANGELOG.md#140)
- Fixed a bug caused by incorrect tree-shaking in SWC-minified code. (1.4.0) — [release notes](https://github.com/radix-ui/primitives/blob/e46b65900b0c8243dad96dae0f1d44321fa1ff72/packages/react/scroll-area/CHANGELOG.md#140)
- Fixed prop merging so asChild on the viewport applies props to the consumer's element instead of the implicit content element. (1.3.0) — [release notes](https://github.com/radix-ui/primitives/blob/e46b65900b0c8243dad96dae0f1d44321fa1ff72/packages/react/scroll-area/CHANGELOG.md#130)
- Reverted breaking changes that caused compatibility issues with React Server Components. (1.2.18) — [release notes](https://github.com/radix-ui/primitives/blob/e46b65900b0c8243dad96dae0f1d44321fa1ff72/packages/react/scroll-area/CHANGELOG.md#1218)
- Resets to 0 when the corner is removed, preventing a permanent gap on the remaining scrollbar. (1.2.14) — [release notes](https://github.com/radix-ui/primitives/blob/e46b65900b0c8243dad96dae0f1d44321fa1ff72/packages/react/scroll-area/CHANGELOG.md#1214)
- Resets to 0 when the corner is removed, preventing a permanent gap on the remaining scrollbar. (1.2.14) — [release notes](https://github.com/radix-ui/primitives/blob/e46b65900b0c8243dad96dae0f1d44321fa1ff72/packages/react/scroll-area/CHANGELOG.md#1214)
- Fixed an infinite re-render loop in React 19 caused by unstable composed ref callback references. (1.2.13) — [release notes](https://github.com/radix-ui/primitives/blob/e46b65900b0c8243dad96dae0f1d44321fa1ff72/packages/react/scroll-area/CHANGELOG.md#1213)
- Fixed Duplicate index signature errors that surfaced when consuming multiple packages together. (1.2.12) — [release notes](https://github.com/radix-ui/primitives/blob/e46b65900b0c8243dad96dae0f1d44321fa1ff72/packages/react/scroll-area/CHANGELOG.md#1212)
- Fixed missing data-state attributes on Scroll Area scrollbars. (1.2.11) — [release notes](https://github.com/radix-ui/primitives/blob/e46b65900b0c8243dad96dae0f1d44321fa1ff72/packages/react/scroll-area/CHANGELOG.md#1211)
