mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 06:57:02 +08:00
More scroll work
This commit is contained in:
@ -582,6 +582,7 @@ ionic.views.Scroll.prototype = {
|
||||
}
|
||||
|
||||
|
||||
// If they enabled snapping (for page stuff), scroll to the next snap
|
||||
if ( this.options.snap ) {
|
||||
var snap = this._nearestSnap(newX, newY);
|
||||
this.currentPage = snap;
|
||||
|
||||
Reference in New Issue
Block a user