@radix-ui/react-focus-scope
1.3.1 · 12 Oct 2026MIT114.8M / weekRepositoryHomepagenpmAtom feed
Upgrading @radix-ui/react-focus-scope From 0.0.2 to 1.3.1
43 releases in betweennotes for 16
Reading releases, release notes and advisories…
Release by release
- Fixed
Fixed a type regression where callback props that were previously declared as methods rejected handlers whose parameter is narrower than the prop's.
- Fixed
- New
Allow explicit
undefinedfor all optional types for compatibility with TypeScript'sexactOptionalPropertyTypesflag. - Fixed
Fixed
FocusScopethrowing aTypeErrorin test environments after teardown.
- New
- New
Added
FocusScopeBranchProviderPropsexport - Fixed
Fixed nested, portalled layers being unusable inside a modal layer. A non-modal popover rendered inside a modal Dialog previously broke some user interactions because the modal layer's trapped
FocusScopereclaimed focus, and itsRemoveScrollonly allowed scrolling within the modal content.
- New
1.1.12 – 1.1.165 releases, nothing new or fixed in the notes
- Fixed
Fixed infinite re-render loop in React 19 caused by unstable composed ref callback references.
- Fixed
1.1.10nothing new or fixed in the note
- New
Added repository.directory to all package.json files
- New
0.0.3 – 1.1.832 releases, nothing new or fixed; 27 without a note
5 other lines we could not sort, mostly version bumps
- 1.1.16
Reverted breaking changes that caused compatibility issues with React Server Components.
- 1.1.14
Republish through CI to attach provenance attestations. The previous versions of these packages were published manually outside of CI and therefore shipped without provenance; this patch re-releases the same code through the CI pipeline so every package includes an attestation.
- 1.1.13
Improved tree-shaking so bundlers can drop unused components. Component parts are now marked
/* @__PURE__ */and use named render functions instead ofComponent.displayName = ...assignments, which previously prevented dead-code elimination with some bundlers. - 1.1.12
Improved performance by reducing forced reflow in
FocusScopeandPresence - 1.1.7
Replace deprecated 'ElementRef' with 'ComponentRef'
14 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.