Skip to content

Releases: discord/react-dnd-accessible-backend

v2.1.0 - Return focus to dragged elements when the drag ends

25 Sep 18:14

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.0.0...v2.1.0

v2.0.0 - Modernization + fixes

13 May 20:34

Choose a tag to compare

This release modernizes the repository to better work with modern environments. See #13 for more details.

Additionally, and the reason for the major version, this adds:

  • Using react-aria/live-announcer for screenreader announcements by default. This can be tuned using options.announcer if you have a different announcer in your application already. See #10 for more details.
  • Option for disabling previews (#12). In case you render previews yourself, you can now disable the automatic previews generated by the KeyboardBackend here.
  • Relaxed peerDependencies to work with new versions of React (18+) (#11, #8).
  • Support monitor.isDragging() so consumers can show dragging states (#9).

v1.0.1 - Drag trigger overrides

09 Oct 22:48

Choose a tag to compare

This update enables consumers to override the drag trigger condition by providing an alternate function. This lets consumers change the keybind used to start drag operations, and also check other conditions before allowing a trigger to continue through.