Back to React Spectrum

July 22, 2025 Release

packages/dev/docs/pages/releases/2025-07-22.mdx

2022-12-1617.4 KB
Original Source

{/* Copyright 2025 Adobe. All rights reserved. This file is licensed to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */}

import {BlogPostLayout, Hero, Image} from '@react-spectrum/docs'; export default BlogPostLayout;


description: Happy summer! This release adds support for async loading and infinite scrolling, improves form integration and drag and drop interactions, and adds support for additional DOM events and attributes.

date: 2025-07-22

July 22, 2025 Release

Happy summer! This release adds support for async loading and infinite scrolling, improves form integration and drag and drop interactions, and adds support for additional DOM events and attributes.

The new LoadMoreItem components supported in ListBox, GridList, Table, and Tree enables infinite scrolling. These trigger the loading of additional pages of items and display a loading spinner. Multiple LoadMoreItems can be rendered within a collection too, enabling loading multiple levels of a tree or sections of data from different APIs.

We've also opened up the React Aria Components API to pass through more DOM events and attributes. This improves integration with other libraries, for example making it possible to use another library's menu with a React Aria button.

As always, thanks so much to everyone who contributed to this release!

Enhancements

  • AlertDialog
    • Add default data-testid to Spectrum AlertDialog buttons - @snow893 - PR
  • Drag and Drop
    • Add support for custom drag preview pointer offset - @reidbarber - PR
  • Forms
    • Add support for form autocomplete to React Aria DateField and DatePicker - @yihuiliao - PR
    • Add support for automatic reset after React 19 form actions - @devongovett - PR
    • Support associating components with external forms - @devongovett - PR
  • Select
  • Tag
  • TextField
  • Toast
    • Add default data-testid to Spectrum Toast buttons - @snow893 - PR
  • Tree
    • Support multi-level asynchronous loading - @LFDanLu - PR
  • Miscellaneous

Fixes

  • CardView
  • Drag and Drop
  • Date/Time
    • Disallow focus of calendar cells outside the month - @Persists - PR
    • Fix setValue to work when DateField is empty - @reidbarber - PR
    • Ignore typing leading zeros in DateField segments - @LFDanLu - PR, PR
  • FileTrigger
    • acceptedFileTypes accepts a readonly array in FileTrigger - @lixiaoyan - PR
  • ListView
  • Menu
  • Modals
  • NumberField
    • Support full width characters in NumberField (e.g. Japanese IME) - @LFDanLu - PR
    • Ensure NumberField validation displays correct errors in React 19 - @chirokas - PR
    • Round to correct precision when step uses exponential notation - @lucasweng - PR
  • RadioGroup
  • Select/Picker
    • Allow selectedKey={null} to clear value in HiddenSelect - @chirokas - PR
    • Fix HiddenSelect causing page scrolling - @devongovett - PR
    • Fix keyboard selection in Select typeahead when options include spaces - @snowystinger - PR
    • Prevent form submission when required Select has more than 300 options - @lucasweng - PR
  • Tabs
  • TableView
    • Ensure the renderEmptyState in Spectrum IllustratedMessage is properly displayed in TableView - @LFDanLu - PR
    • Prevent TableView from jumping to the top during asynchronous load - @obreitwi - PR
  • Miscellaneous
    • Include missing page.css.map in published npm package - @snowystinger - PR
    • Check user agent brands - @reidbarber - PR
    • Fix Rect intersection check so that users don't need to provide Virtualizer mocks for tests - @LFDanLu - PR
    • Fix createLeafComponent ref typing - @snowystinger - PR
    • Add permission element to focusable elements list - @gabrielchl - PR
    • Minimize unnecessary global events in useHover - @qmhc - PR
    • Do not dispatch loadMore if hook is still in loading state - @jluyau = PR

Docs

  • Remove duplicate "color" in ColorWheelRenderProps comment - @GuiEpi - PR
  • Fix Calendar example - @chirokas - PR
  • Use lucide-react for React Aria example's icons - @reidbarber - PR
  • Fix TanStack Router example - @brmzkw - PR
  • Fix checkbox in dark mode in the Tailwind Starter - @tomer-yechiel - PR

Under Construction

  • Autocomplete
    • Clear Autocomplete virtualFocus upon paste/undo/redo and other focus fixes - @LFDanLu - PR
  • Tree:

Released packages

 - @adobe/[email protected]
 - @internationalized/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-aria/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-stately/[email protected]
 - @react-stately/[email protected]
 - @react-stately/[email protected]
 - @react-stately/[email protected]
 - @react-stately/[email protected]
 - @react-stately/[email protected]
 - @react-stately/[email protected]
 - @react-stately/[email protected]
 - @react-stately/[email protected]
 - @react-stately/[email protected]
 - @react-stately/[email protected]
 - @react-stately/[email protected]
 - @react-stately/[email protected]
 - @react-stately/[email protected]
 - @react-stately/[email protected]
 - @react-stately/[email protected]
 - @react-stately/[email protected]
 - @react-stately/[email protected]
 - @react-stately/[email protected]
 - @react-stately/[email protected]
 - @react-stately/[email protected]
 - @react-stately/[email protected]
 - @react-stately/[email protected]
 - @react-stately/[email protected]
 - @react-stately/[email protected]
 - @react-stately/[email protected]
 - @react-stately/[email protected]
 - @react-stately/[email protected]
 - @react-stately/[email protected]
 - @react-stately/[email protected]
 - @react-stately/[email protected]
 - @react-types/[email protected]
 - @react-types/[email protected]
 - @react-types/[email protected]
 - @react-types/[email protected]
 - @react-types/[email protected]
 - @react-types/[email protected]
 - @react-types/[email protected]
 - @react-types/[email protected]
 - @react-types/[email protected]
 - @react-types/[email protected]
 - @react-types/[email protected]
 - @react-types/[email protected]
 - @react-types/[email protected]
 - @react-types/[email protected]
 - @react-types/[email protected]
 - @react-types/[email protected]
 - @react-types/[email protected]
 - @react-types/[email protected]
 - @react-types/[email protected]
 - @react-types/[email protected]
 - @react-types/[email protected]
 - @react-types/[email protected]
 - @react-types/[email protected]
 - @react-types/[email protected]
 - @react-types/[email protected]
 - @react-types/[email protected]
 - @react-types/[email protected]
 - @react-types/[email protected]
 - @react-types/[email protected]
 - @react-types/[email protected]
 - @react-types/[email protected]
 - @react-types/[email protected]
 - @react-types/[email protected]
 - @react-types/[email protected]
 - @react-types/[email protected]
 - @react-types/[email protected]
 - @react-types/[email protected]
 - @react-types/[email protected]
 - @react-types/[email protected]
 - @react-types/[email protected]
 - @react-types/[email protected]
 - @react-types/[email protected]
 - @react-types/[email protected]
 - @react-types/[email protected]
 - @react-types/[email protected]
 - @react-types/[email protected]
 - @spectrum-icons/[email protected]
 - @spectrum-icons/[email protected]
 - @spectrum-icons/[email protected]
 - @spectrum-icons/[email protected]
 - @spectrum-icons/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - @react-aria/[email protected]
 - @react-spectrum/[email protected]
 - @react-spectrum/[email protected]
 - [email protected]
 - [email protected]
 - [email protected]