Skip to content

Commit ea57b41

Browse files
committed
fix(scroll): values should be pixel values
According to the unit tests this expects pixel values.
1 parent fa0ba4d commit ea57b41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/angular/controller/refresherController.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ IonicModule
170170
}
171171

172172
function overscroll(val) {
173-
scrollChild.style[ionic.CSS.TRANSFORM] = 'translate3d(0, ' + val + 'px, 0)';
173+
scrollChild.style[ionic.CSS.TRANSFORM] = 'translate3d(0px, ' + val + 'px, 0px)';
174174
lastOverscroll = val;
175175
}
176176

0 commit comments

Comments
 (0)