Releases: marcojakob/dart-dnd
Releases · marcojakob/dart-dnd
v2.0.1
v2.0.0
- Migrate to null safety.
v1.4.3
- Remove unnecessary new keyword.
v1.4.2
v1.4.1
v1.4.0
- Add an option
minDragStartDistance
onDraggable
to define the minimum distance in
pixels that is needed for a drag to start (#26). Default is4
pixels. This allows for clicks with tiny movement. The optionclickSuppression
has been marked as DEPRECATED as it had the same goal but a misleading name.
v1.3.0
v1.2.0
- Support for creating a Draggable with
List<Element>
(in addition toElementList
andElement
).
v1.1.0
- Remove cursor files. Support for
grab
,-webkit-grab
,grabbing
, and-webkit-grabbing
is good enough.
v1.0.0
- 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 thetouch-action
css property. With this Chrome will not scroll (none
) or only scroll in one direction (pan-y
orpan-x
).