Closed ahmehri closed 8 years ago
@ahmehri Thanks for your PR. However please do not mix a bug fix and a new feature in a single PR.
Could you create a PR for the touch device fix and another one for the notifyDrawing
feature? Also please squash your commits.
@jasny sorry you're right, I did that by mistake (using my master branch instead of the appropriate one). I'll create the two different PRs and fix this.
@jasny the correct PR related to the bug fix have been created (#26).
updateModel function is not invoked when touch device is used, this is because this function is invoked only when
mouseup
event is fired (only ng-mouseup directive is used), the fix was to listen to thetouchend
event and invoke updateModel when the event is fired.