Skip to content

2.4.0

Compare
Choose a tag to compare
@jaredcrowe jaredcrowe released this 05 Oct 03:24
· 738 commits to master since this release

Improvements

  • We now allow hooks to be updated dynamically (caused the minor version bump ✨). Previously the onDragStart and onDragEnd callbacks were captured once on mount, and any subsequent updates to these props would not be captured. It's now possible to change these hooks after the DragDropContext has been mounted. #49
  • A Droppable's margins are now included in its droppable area #122

Fixes

  • Fixed a bug which caused the app to end up in a broken state if a drag ends before dimensions have been collected #121