Click on dragged object always triggering draggable event #70

Open
decernosia opened this Issue Nov 2, 2016 · 0 comments

Projects

None yet

1 participant

@decernosia
decernosia commented Nov 2, 2016 edited

I have a DIV tag that is both draggable and has an ng-click event ... I don't want the draggable:start event to fire if all I am doing is clicking.

Yet, it seems the draggable:start is always triggered.

I need to stop that. Any ideas?

I do have this in my code ... that's how I know it's being fired:

    $rootScope.$on('draggable:start', function (data, evt) {
            vm.isDragging = true;
    });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment