feat: update React Aria packages to latest - #1910
Open
Stephen Watkins (stephenjwatkins) wants to merge 2 commits into
Open
feat: update React Aria packages to latest#1910Stephen Watkins (stephenjwatkins) wants to merge 2 commits into
Stephen Watkins (stephenjwatkins) wants to merge 2 commits into
Conversation
React Aria 3.51 consolidated the individual `@react-aria/*` and `@react-stately/*` packages into the `react-aria` and `react-stately` monopackages, so subpath imports no longer resolve. Imports for calendar types/state, i18n, and visually-hidden now come from the main packages. `@react-types/grid` and `@react-stately/list` are declared explicitly since `GridNode` and `ListCollection` have no main-package equivalent. Type fixes for upstream signature changes: - `RangeCalendar`'s `isDateUnavailable` now receives the in-progress range's anchor date as a second argument, matching `useRangeCalendarState`. The single-date components keep the one-argument signature. - `TabPanelsTabs` normalizes `selectedKey` from `null` to `undefined` now that `useTabListState` no longer accepts `null`, preserving our public API. `useScrollbar` now waits for a live document before initializing OverlayScrollbars. React Aria Components builds collections by rendering children into a detached fragment owned by an inert document, and those elements have no `defaultView` for OverlayScrollbars to dereference — which crashed every MultiSelect.
Stephen Watkins (stephenjwatkins)
force-pushed
the
SHPE-1642-update-react-aria
branch
from
August 21, 2026 11:47
b115874 to
5e633d6
Compare
Stephen Watkins (stephenjwatkins)
marked this pull request as ready for review
August 21, 2026 12:16
jallen-cyber
approved these changes
Aug 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
React Aria 3.51 consolidated the individual
@react-aria/*and@react-stately/*packages into thereact-ariaandreact-statelymonopackages, so subpath imports no longer resolve. Imports for calendar types/state, i18n, and visually-hidden now come from the main packages.@react-types/gridand@react-stately/listare declared explicitly sinceGridNodeandListCollectionhave no main-package equivalent.Type fixes for upstream signature changes:
RangeCalendar'sisDateUnavailablenow receives the in-progress range's anchor date as a second argument, matchinguseRangeCalendarState. The single-date components keep the one-argument signature.TabPanelsTabsnormalizesselectedKeyfromnulltoundefinednow thatuseTabListStateno longer acceptsnull, preserving our public API.useScrollbarnow waits for a live document before initializing OverlayScrollbars. React Aria Components builds collections by rendering children into a detached fragment owned by an inert document, and those elements have nodefaultViewfor OverlayScrollbars to dereference — which crashed every MultiSelect.