Skip to content

@dnd-kit/core@2.1.2

Compare
Choose a tag to compare
@github-actions github-actions released this 03 Apr 00:44
· 265 commits to master since this release
6f762a4

Patch Changes

  • 2833337 #186 Thanks @clauderic! - Simplify useAnnouncement hook to only return a single announcement rather than entries. Similarly, the LiveRegion component now only accepts a single announcement rather than `entries.

    • The current strategy used in the useAnnouncement hook is needlessly complex. It's not actually necessary to render multiple announcements at once within the LiveRegion component. It's sufficient to render a single announcement at a time. It's also un-necessary to clean up the announcements after they have been announced, especially now that the role="status" attribute has been added to LiveRegion, keeping the last announcement rendered means users can refer to the last status.
  • Updated dependencies [c24bdb3, 2833337]:

    • @dnd-kit/accessibility@2.0.0