Skip to content

Releases: marcojakob/dart-dnd

v0.4.0

27 Jun 09:23
Compare
Choose a tag to compare
  • Fix strong mode errors (#20).

v0.3.6

05 Jun 23:45
Compare
Choose a tag to compare
  • Fix bug: Provide reasonable fallback for event target when mouse position exits viewport (#19).

v0.3.5

22 Nov 17:50
Compare
Choose a tag to compare
  • Handle the edge case where destroy is called while dragging an avatar (#17).

v0.3.4

19 Oct 20:25
Compare
Choose a tag to compare
  • Fix strong-mode type errors (#15).
  • Remove Shadow DOM example and (dev)dependency on Polymer (was causing some confusion).

v0.3.3

22 Sep 14:48
Compare
Choose a tag to compare
  • 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.

v0.3.1

25 Jul 22:58
Compare
Choose a tag to compare

Support for programmatic drag abort (see issue #11).

v0.3.0

18 Apr 11:51
Compare
Choose a tag to compare
  • 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.

v0.2.1

09 Mar 14:17
Compare
Choose a tag to compare
  • Fix #9: Using transformers in the main pubspec.yaml caused problems with
    projects depending on the dnd package.

v0.2.0

09 Mar 10:57
Compare
Choose a tag to compare
  • 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.

v0.1.4

20 Oct 09:10
Compare
Choose a tag to compare
  • Add a sortable example.
  • Change comments according to new Dart Style Guide rule
    (/// instead of /** */).
  • Move event dispatching calls from EventManager to Draggable (refactoring).