react-spectrum
react-spectrum copied to clipboard
A collection of libraries and tools that help you build adaptive, accessible, and robust user experiences.
### Provide a general summary of the issue here In our project we use both Dialog and Popover. We predefine where the layers for our popover elements are rendered. The...
Closes ## ✅ Pull Request Checklist: - [ ] Included link to corresponding [React Spectrum GitHub Issue](https://github.com/adobe/react-spectrum/issues). - [ ] Added/updated unit tests and storybook for this change (for new...
### Provide a general summary of the issue here Referring to this code: ```ts if (!ctx.slots[slotKey]) { let availableSlots = new Intl.ListFormat().format(Object.keys(ctx.slots).map(p => `"${p}"`)); let errorMessage = slot ? `Invalid...
### Provide a general summary of the issue here `useModalOverlay` sets by default in `ariaHideOutside` `shouldUseInert: true`. That breaks interaction with external overlays not created with react-aria. For example libraries...
Closes #7716 ## ✅ Pull Request Checklist: - [ ] Included link to corresponding [React Spectrum GitHub Issue](https://github.com/adobe/react-spectrum/issues). - [ ] Added/updated unit tests and storybook for this change (for...
### Provide a general summary of the feature here It would be great if it was possible to return the number of years/months/days etc between two dates/datetimes in `@internationalized/date`. Something...
This PR refactors `scrollIntoView` and `scrollIntoViewport` to support `scrollMargin`, while working around the regressions mentioned in https://github.com/adobe/react-spectrum/issues/8689#issuecomment-3429792206. Additionally, a new `inline` & `block` option for alignment of a container element...
Closes We will never receive the null value in the validate function. See https://github.com/adobe/react-spectrum/blob/ef3ff3d5d70302ad365a7c55bd71330967f3507e/packages/%40react-stately/form/src/useFormValidationState.ts#L93 ## ✅ Pull Request Checklist: - [ ] Included link to corresponding [React Spectrum GitHub Issue](https://github.com/adobe/react-spectrum/issues)....
### Provide a general summary of the issue here When opening a Menu wrapped in a Popover positioned near the right edge of the viewport, the menu gets cut off...
### Provide a general summary of the issue here When adding a non integer number of days to a CalendarDate, the output of `toString()` is no ISO 8601 string anymore,...