react-beautiful-dnd v12.2.0 Release Notes

Release Date: 2019-12-05 // about 2 years ago
  • Overhauled collision engine #930

    Banner RBD v12.2.0

    ๐Ÿš€ In this release we have rewritten our collision engine to better account for mixed sized draggables and droppables.

    Mixed sized draggables

    Old collision engine New collision engine
    ๐Ÿ›  large-items-sucked

    Mixed sized droppables

    Old collision engine
    big-list-broken 2

    ๐Ÿ†• New collision engine

    ๐Ÿฑ โœ๏ธWe wrote a blog which goes deep into the improvements we have made: Overhauling our collision engine

    ๐Ÿฑ A huge thanks to @caspersmith who helped us find a new approach to doing item collisions ๐ŸŽ‰

    We have listed this as a minor change as it is an intentional change of behaviour

    ๐Ÿ›  Fixes

    • โš  More robust server side rendering (SSR) check to ensure we do not use useLayoutEffect on the server to avoid React warnings. We now use the same strategy as React and Redux. #1636. Thanks @LinusCenterstrom for contributing this one!
    • โœ‚ Removes duplicate code from the dimension locking example #1637. Good catch, @CraigEge!
    • โœ‚ Removes duplicate checks in is-position-in-frame #1635. @danieldelcore, nice ๐Ÿ‘€

    ๐Ÿš€ > All of these fixes resulted in a patch release (which got absorbed by the minor change

    A new maintainer joins the team!

    ๐Ÿฑ @danieldelcore has been added as a maintainer to rbd. Welcome @danieldelcore ! He greatly assisted in creating our new collision engine ๐Ÿ‘

    Daniel Del Core joins the fight


    ๐Ÿš€ A number of Atlassian's helped get this release over the line. Special shout out to:

    • Jake Miller
    • Ee Venn Soh
    • Tamarah Walsh
    • James Rotanson (for the amazing cover art)