mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
feat(refresher): add elastic drag to native scrolling refresher
This commit is contained in:
2
js/angular/controller/refresherController.js
vendored
2
js/angular/controller/refresherController.js
vendored
@@ -115,7 +115,7 @@ IonicModule
|
||||
|
||||
isDragging = true;
|
||||
// overscroll according to the user's drag so far
|
||||
overscroll(parseInt(deltaY - dragOffset, 10));
|
||||
overscroll(parseInt((deltaY - dragOffset)/3, 10));
|
||||
|
||||
// update the icon accordingly
|
||||
if (!activated && lastOverscroll > ptrThreshold) {
|
||||
|
||||
Reference in New Issue
Block a user