danielepiccone / ng-pageslide

AngularJS sliding panel for serving additional content from off the page
http://danielepiccone.github.io/ng-pageslide/examples/
451 stars 160 forks source link

Auto Close Issue #158

Closed saberistic closed 7 years ago

saberistic commented 7 years ago

I faced an issue and I noticed that the file on the example site is different from the one on master branch. touchend on this line https://github.com/dpiccone/ng-pageslide/blob/master/src/angular-pageslide-directive.js#L267 and onBodyClick function on https://github.com/dpiccone/ng-pageslide/blob/master/src/angular-pageslide-directive.js#L67 introduced a bug which on touch devices closes the menu the moment it opens it up. The only workaround right now is to disable auto close.