@radix-ui/react-focus-scope
1.3.1 · 12 Oct 2026MIT114.8M / weekRepositoryHomepagenpmAtom feed
Upgrading @radix-ui/react-focus-scope From 1.1.15 to 1.3.1
4 releases in betweenevery note read
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.16nothing new or fixed in the note
1 other line we could not sort, mostly version bumps
- 1.1.16
Reverted breaking changes that caused compatibility issues with React Server Components.
3 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.