PackageTrack
Sign in Get early access

dnd

Drag and Drop for Dart web apps with mouse and touch support.

2.0.1 71K downloads/mo #1276 most downloaded on pub.dev marcojakob/dart-dnd

What this package is like to depend on

Last release 5 years ago

no release in 18 months

Release timing varies

gaps range from 3 weeks to 1.2 years

Nearly every release is documented

notes for 24 of 25 stable releases

Nothing withdrawn

no release was ever pulled

12 years old

25 releases · first in 2014

0 releases in the last 12 months

see the full history below

Release timeline

25 releases · Jul 2014 to Oct 2021
2015 2017 2019 2021 2023 2025
Release Pre-release

Releases

latest 25
  1. 2.0.1 07 Oct 2021
    Release notes
    • Fix #36: Add null checks on _currentDrag.
    Open source →
    Release notes
    • Fix #36: Add null checks on _currentDrag.
    Open source →
  2. 2.0.0 06 Mar 2021
    Release notes
    • Migrate to null safety.
    Open source →
    Release notes
    • Migrate to null safety.
    Open source →
  3. 1.4.3 10 Dec 2019
    Release notes
    • Remove unnecessary new keyword.
    Open source →
    Release notes
    • Remove unnecessary new keyword.
    Open source →
  4. 1.4.2 13 Feb 2019
    Release notes
    • Fix #30: Cannot initialize Dropzone with List.
    • Follow more code style conventions.
    • Update dependencies.
    Open source →
    Release notes
    • Fix #30: Cannot initialize Dropzone with List<HtmlElement>.
    • Follow more code style conventions.
    • Update dependencies.
    Open source →
  5. 1.4.1 13 Feb 2019
    Release notes
    • Fix #30: Cannot initialize Dropzone with List.
    • Follow more code style conventions.
    • Update dependencies.
    Open source →
  6. 1.4.0 12 Oct 2018
    Release notes
    • Add an option minDragStartDistance on Draggable to define the minimum distance in
      pixels that is needed for a drag to start (#26). Default is 4 pixels. This allows for clicks with tiny movement. The option clickSuppression has been marked as DEPRECATED as it had the same goal but a misleading name.
    Open source →
    Release notes
    • Add an option minDragStartDistance on Draggable to define the minimum distance in pixels that is needed for a drag to start (#26). Default is 4 pixels. This allows for clicks with tiny movement. The option clickSuppression has been marked as DEPRECATED as it had the same goal but a misleading name.
    Open source →
  7. 1.3.0 15 Aug 2018
    Release notes
    • Align dart version to support Dart 2 (#25).
    Open source →
    Release notes
    • Align dart version to support Dart 2 (#25).
    Open source →
  8. 1.2.0 21 Jun 2018
    Release notes
    • Support for creating a Draggable with List<Element> (in addition to ElementList and Element).
    Open source →
    Release notes
    • Support for creating a Draggable with List<Element> (in addition to ElementList and Element).
    Open source →
  9. 1.1.0 21 Jun 2018
    Release notes
    • Remove cursor files. Support for grab, -webkit-grab, grabbing, and -webkit-grabbing is good enough.
    Open source →
    Release notes
    • Remove cursor files. Support for grab, -webkit-grab, grabbing, and -webkit-grabbing is good enough.
    Open source →
  10. 1.0.0 13 Jun 2018
    Release notes
    • Migrate to Dart 2.
    • Since Chrome 56 touch event listeners are treated as passive by default. This disables the possibility to call preventDefault on an element which we must do to tell the browser not to scroll while dragging. To fix this in Chrome we set the touch-action css property. With this Chrome will not scroll (none) or only scroll in one direction (pan-y or pan-x).
    Open source →
    Release notes
    • Migrate to Dart 2.
    • Since Chrome 56 touch event listeners are treated as passive by default. This disables the possibility to call preventDefault on an element which we must do to tell the browser not to scroll while dragging. To fix this in Chrome we set the touch-action css property. With this Chrome will not scroll (none) or only scroll in one direction (pan-y or pan-x).
    Open source →
  11. 0.4.0 27 Jun 2017
    Release notes
    • Fix strong mode errors (#20).
    Open source →
  12. 0.3.6 05 Jun 2017
    Release notes
    • Fix bug: Provide reasonable fallback for event target when mouse position exits viewport (#19).
    Open source →
  13. 0.3.5 22 Nov 2016
    Release notes
    • Handle the edge case where destroy is called while dragging an avatar (#17).
    Open source →
  14. 0.3.4 19 Oct 2016
    Release notes
    • Fix strong-mode type errors (#15).
    • Remove Shadow DOM example and (dev)dependency on Polymer (was causing some confusion).
    Open source →
  15. 0.3.3 22 Sep 2016
    Release notes
    • Allow a configurable clickSuppression distance (#13). We found that the click suppression was a little too aggressive for users with less mousing accuracy. They would attempt to click and trigger a small drag. Which then suppressed the click event and prevented the action they intended to complete.
    Open source →
  16. 0.3.1 25 Jul 2016
    Release notes
    • Support for programmatic drag abort (see issue #11).
    Open source →
  17. 0.3.0 18 Apr 2015
    Release notes
    • BREAKING CHANGE: Refactoring the AvatarHandler. Only if you've implemented a custom AvatarHandler you might need to do some changes:
      • setPointerEventsNone and resetPointerEvents were removed and don't need to be called any more. Pointer event styles are handled automatically.
    • Fix AvatarHandler margin caching: The AvatarHandler only cached the margins once for every Draggable. This caused problems when margins of elements in the same Draggable had different margins or the margins were changed. Now the margins are reset after every drag.
    Open source →
  18. 0.2.1 09 Mar 2015
    Release notes
    • Fix #9: Using transformers in the main pubspec.yaml caused problems with projects depending on the dnd package.
    Open source →
  19. 0.2.0 09 Mar 2015
    Release notes
    • Fix #3: Shadow DOM is now supported. A dnd-retarget attribute must be added to all custom elements where events should be forwarded to the Shadow DOM children.
    • Fix #7: Add a css class (dnd-invalid by default) to dropzones when a not-accepted draggable is dragged over.
    Open source →
  20. 0.1.4 20 Oct 2014
    Release notes
    • Add a sortable example.
    • Change comments according to new Dart Style Guide rule (/// instead of /** */).
    • Move event dispatching calls from EventManager to Draggable (refactoring).
    Open source →
  21. 0.1.3 09 Aug 2014
    Release notes
    • Fix #4: Problem when an ancestor of the dragged element was positioned (relative, absolute, fixed).
    Open source →
  22. 0.1.2 22 Jul 2014
    Release notes
    • Correcting small bug that occurred when setSelectionRange() was called on an element that does not support it.
    • Fix Pointer Event bug: Too many event listeners in move, end, cancel.
    • Fix for Bug #1 - Not working in Windows 8.1 IE11
    • Adding a cancelled flag to DraggableEvent to indicate if a drag ended because of a cancelling operation like esc key, etc.
    Open source →
  23. 0.1.1 21 Jul 2014
    Release notes
    • Support for IE10 and IE11 touch screens through pointer events.
    • Removed disableTouch and disableMouse options. The goal was to unify touch and mouse dragging, so it should not be necessary to disable one or the other.
    Open source →
  24. 0.1.0 17 Jul 2014
    Release notes
    • First version.
    Open source →
  25. 0.1.0+1 17 Jul 2014

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive