Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

fix(draggable): auto scroll the page when dragging events

Closes #568
  • Loading branch information...
Matt Lewis
Matt Lewis committed Apr 2, 2017
1 parent 9277ec1 commit c8da9bbeaed2db421de74bb1e64c4636d9bba4de
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/directives/mwlDraggable.js
@@ -28,6 +28,7 @@ angular
}

interact($element[0]).draggable({
autoScroll: true,
snap: snap,
onstart: function(event) {
angular.element(event.target).addClass('dragging-active');

0 comments on commit c8da9bb

Please sign in to comment.
You can’t perform that action at this time.