NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #1741 most downloaded on pub.dev
Drag and Drop for Dart web apps with mouse and touch support.
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
Fix #36 : Add null checks on _currentDrag.
Migrate to null safety.
One column per quarter.
Remove unnecessary new keyword.
Fix #30 : Cannot initialize Dropzone with List.
Fix #30 : Cannot initialize Dropzone with List.
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…
minDragStartDistance on Draggable to define the minimum distance in4 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.Align dart version to support Dart 2 ( #25 ).
Support for creating a Draggable with List<Element> (in addition to ElementList and Element ).
List<Element> (in addition to ElementList and Element).List<Element> (in addition to ElementList and Element).Remove cursor files. Support for grab , -webkit-grab , grabbing , and -webkit-grabbing is good enough.
grab, -webkit-grab, grabbing, and -webkit-grabbing is good enough.Since Chrome 56 touch event listeners are treated as passive by default . This disables the possibility to call preventDefault on an element which we
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).- Fix strong mode errors (#20).
Fix bug: Provide reasonable fallback for event target when mouse position exits viewport (#19).
Handle the edge case where destroy is called while dragging an avatar (#17).
Fix strong-mode type errors (#15).
Allow a configurable clickSuppression distance (#13). We found that the click suppression was a little too aggressive for users with less mousing accu
Support for programmatic drag abort (see issue #11).
BREAKING CHANGE: Refactoring the AvatarHandler. Only if you've implemented a custom AvatarHandler you might need to do some changes:
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.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.Fix #9: Using transformers in the main pubspec.yaml caused problems with projects depending on the dnd package.
pubspec.yaml caused problems with
projects depending on the dnd package.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
dnd-retarget attribute must be added
to all custom elements where events should be forwarded to the Shadow DOM
children.dnd-invalid by default) to dropzones when a
not-accepted draggable is dragged over.Change comments according to new Dart Style Guide rule (/// instead of / */).
/// instead of /** */).Fix #4: Problem when an ancestor of the dragged element was positioned (relative, absolute, fixed).
Correcting small bug that occurred when setSelectionRange() was called on an element that does not support it.
cancelled flag to DraggableEvent to indicate if a drag ended
because of a cancelling operation like esc key, etc.Support for IE10 and IE11 touch screens through pointer events.
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.Nothing published for this version
- First version.
Your coding agent can read these notes before it upgrades. Set up the MCP server →