yarn react-dnd 0.4.0
v0.4.0

latest releases: 16.0.1, 16.0.0, 15.1.2...
9 years ago
  • Adds effectsAllowed: Array<DropEffects>? to beginDrag options and getDropEffect(effectsAllowed) to drop target so they can show different cursor depending on modes supported by drag source and drop target
  • endDrag now accepts a recordedDropEffect: DropEffect instead of a boolean as an argument, falsy-checking code will work like before
  • Adds a third parameter recordedDropEffect to endDrag that makes it possible to find out if some nested drop zone already handled drop
  • Makes browser's "+" icon next to dragged item opt-in rather than opt-out

Don't miss a new react-dnd release

NewReleases is sending notifications on new releases.