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
Releases
latest 25-
2.0.107 Oct 2021 -
2.0.006 Mar 2021 -
1.4.310 Dec 2019 -
1.4.213 Feb 2019Release notes
Open source →- Fix #30: Cannot initialize Dropzone with List.
- Follow more code style conventions.
- Update dependencies.
Release notes
Open source →- Fix #30: Cannot initialize Dropzone with List<HtmlElement>.
- Follow more code style conventions.
- Update dependencies.
-
1.4.113 Feb 2019Release notes
Open source →- Fix #30: Cannot initialize Dropzone with List.
- Follow more code style conventions.
- Update dependencies.
-
1.4.012 Oct 2018Release notes
Open source →- Add an option
minDragStartDistanceonDraggableto define the minimum distance in
pixels that is needed for a drag to start (#26). Default is4pixels. This allows for clicks with tiny movement. The optionclickSuppressionhas been marked as DEPRECATED as it had the same goal but a misleading name.
Release notes
Open source →- Add an option
minDragStartDistanceonDraggableto define the minimum distance in pixels that is needed for a drag to start (#26). Default is4pixels. This allows for clicks with tiny movement. The optionclickSuppressionhas been marked as DEPRECATED as it had the same goal but a misleading name.
- Add an option
-
1.3.015 Aug 2018 -
1.2.021 Jun 2018Release notes
Open source →- Support for creating a Draggable with
List<Element>(in addition toElementListandElement).
Release notes
Open source →- Support for creating a Draggable with
List<Element>(in addition toElementListandElement).
- Support for creating a Draggable with
-
1.1.021 Jun 2018Release notes
Open source →- Remove cursor files. Support for
grab,-webkit-grab,grabbing, and-webkit-grabbingis good enough.
Release notes
Open source →- Remove cursor files. Support for
grab,-webkit-grab,grabbing, and-webkit-grabbingis good enough.
- Remove cursor files. Support for
-
1.0.013 Jun 2018Release notes
Open source →- Migrate to Dart 2.
- Since Chrome 56 touch event listeners are treated as passive by default. This disables the possibility to call
preventDefaulton an element which we must do to tell the browser not to scroll while dragging. To fix this in Chrome we set thetouch-actioncss property. With this Chrome will not scroll (none) or only scroll in one direction (pan-yorpan-x).
Release notes
Open source →- Migrate to Dart 2.
- Since Chrome 56 touch event listeners are treated as passive by default. This disables the possibility to call
preventDefaulton an element which we must do to tell the browser not to scroll while dragging. To fix this in Chrome we set thetouch-actioncss property. With this Chrome will not scroll (none) or only scroll in one direction (pan-yorpan-x).
-
0.4.027 Jun 2017 -
0.3.605 Jun 2017Release notes
Open source →- Fix bug: Provide reasonable fallback for event target when mouse position exits viewport (#19).
-
0.3.522 Nov 2016Release notes
Open source →- Handle the edge case where destroy is called while dragging an avatar (#17).
-
0.3.419 Oct 2016Release notes
Open source →- Fix strong-mode type errors (#15).
- Remove Shadow DOM example and (dev)dependency on Polymer (was causing some confusion).
-
0.3.322 Sep 2016Release notes
Open source →- 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.
-
0.3.125 Jul 2016 -
0.3.018 Apr 2015Release notes
Open source →- BREAKING CHANGE: Refactoring the
AvatarHandler. Only if you've implemented a customAvatarHandleryou might need to do some changes:setPointerEventsNoneandresetPointerEventswere removed and don't need to be called any more. Pointer event styles are handled automatically.
- Fix
AvatarHandlermargin caching: TheAvatarHandleronly cached the margins once for everyDraggable. This caused problems when margins of elements in the sameDraggablehad different margins or the margins were changed. Now the margins are reset after every drag.
- BREAKING CHANGE: Refactoring the
-
0.2.109 Mar 2015Release notes
Open source →- Fix #9: Using transformers in the main
pubspec.yamlcaused problems with projects depending on thedndpackage.
- Fix #9: Using transformers in the main
-
0.2.009 Mar 2015Release notes
Open source →- Fix #3: Shadow DOM is now supported. A
dnd-retargetattribute must be added to all custom elements where events should be forwarded to the Shadow DOM children. - Fix #7: Add a css class (
dnd-invalidby default) to dropzones when a not-accepted draggable is dragged over.
- Fix #3: Shadow DOM is now supported. A
-
0.1.420 Oct 2014Release notes
Open source →- Add a sortable example.
- Change comments according to new Dart Style Guide rule
(
///instead of/** */). - Move event dispatching calls from EventManager to Draggable (refactoring).
-
0.1.309 Aug 2014Release notes
Open source →- Fix #4: Problem when an ancestor of the dragged element was positioned (relative, absolute, fixed).
-
0.1.222 Jul 2014Release notes
Open source →- 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
cancelledflag toDraggableEventto indicate if a drag ended because of a cancelling operation likeesckey, etc.
-
0.1.121 Jul 2014Release notes
Open source →- Support for IE10 and IE11 touch screens through pointer events.
- Removed
disableTouchanddisableMouseoptions. The goal was to unify touch and mouse dragging, so it should not be necessary to disable one or the other.
-
0.1.017 Jul 2014 -
0.1.0+117 Jul 2014Nothing published for this version