All Versions
80
Latest Version
Avg Release Cycle
44 days
Latest Release
319 days ago

Changelog History
Page 5

  • v2.0.0-beta1 Changes

    April 14, 2016
    • ๐Ÿš€ Due to API changes, this is a major release.

    ๐Ÿ’ฅ Breaking Changes:

    • Both <DraggableCore> and <Draggable> have had their callback types changed and unified.
    type DraggableEventHandler = (e: Event, data: DraggableData) => void | false;
    type DraggableData = {
      node: HTMLElement,
      // lastX + deltaX === x
      x: number, y: number,
      deltaX: number, deltaY: number,
      lastX: number, lastY: number
    };
    
    • 0๏ธโƒฃ The start option has been renamed to defaultPosition.
    • ๐Ÿšš The zIndex option has been removed.

    Possibly Breaking Changes:

    • When determining deltas, we now use a new method that checks the delta against the Draggable's offsetParent. This method allows us to support arbitrary nested scrollable ancestors without scroll handlers!
      • This may cause issues in certain layouts. If you find one, please open an issue.

    โœจ Enhancements:

    • 0๏ธโƒฃ <Draggable> now has a position attribute. Its relationship to defaultPosition is much like value to defaultValue on React <input> nodes. If set, the position is fixed and cannot be mutated. If empty, the component will manage its own state. See #140 for more info & motivations.
    • ๐Ÿ›  Misc. bugfixes.
  • v1.4.0-beta1 Changes

    April 13, 2016
    • ๐Ÿ‘ Major improvements to drag tracking that now support even nested scroll boxes.
      • This revision is being done as a pre-release to ensure there are no unforeseen issues with the offset changes.
  • v1.3.7 Changes

    April 08, 2016
    • ๐Ÿ›  Fix user-select prefixing, which may be different than the prefix required for transform.
  • v1.3.6 Changes

    April 08, 2016
    • Republished after 1.3.5 contained a bundling error.
  • v1.3.5 Changes

    April 08, 2016
    • โž• Add React v15 to devDeps. <Draggable> supports both v0.14 and v15.
    • โœจ Enhancement: Clean up usage of browser prefixes; modern browsers will no longer use them.
      • This also removes the duplicated user-select style that is created on the <body> while dragging.
    • โœ… Internal: Test fixes.
  • v1.3.4 Changes

    March 05, 2016
    • ๐Ÿ›  Bugfix: Scrolling while dragging caused items to move unpredictably.
  • v1.3.3 Changes

    February 11, 2016
    • ๐Ÿ›  Bugfix: #116: Android/Chrome are finicky; give up on canceling ghost clicks entirely.
  • v1.3.2 Changes

    February 11, 2016
    • ๐Ÿ›  Bugfix: #116: Child inputs not focusing on touch events.
  • v1.3.1 Changes

    February 10, 2016
    • Internal: Babel 6 and Flow definitions
    • ๐Ÿ›  Bugfix: 1.3.0 broke string bounds ('parent', selectors, etc.).
    • ๐Ÿ›  Bugfix: 1.3.0 wasn't updating deltaX and deltaY on a bounds hit.
  • v1.3.0 Changes

    February 10, 2016
    • Possibly breaking change: bounds are calculated before <Draggable> fires drag events, as they should have been.
    • โž• Added 'none' axis type. This allows using <Draggable> somewhat like <DraggableCore> - state will be kept internally (which makes bounds checks etc possible), but updates will not be flushed to the DOM.
    • ๐ŸŽ Performance tweaks.