diff --git a/tns-core-modules/ui/scroll-view/scroll-view.ios.ts b/tns-core-modules/ui/scroll-view/scroll-view.ios.ts index 58d1a6c5d..bde46340d 100644 --- a/tns-core-modules/ui/scroll-view/scroll-view.ios.ts +++ b/tns-core-modules/ui/scroll-view/scroll-view.ios.ts @@ -219,8 +219,8 @@ export class ScrollView extends ScrollViewBase { const safeArea = this.getSafeArea(); const fullscreen = this.getFullscreenArea(); const locationOnScreen = this.getLocationInWindow(); - const onScreenLeft = layout.toDevicePixels(layout.round(locationOnScreen.x)); - const onScreenTop = layout.toDevicePixels(layout.round(locationOnScreen.y)); + const onScreenLeft = layout.round(layout.toDevicePixels(locationOnScreen.x)); + const onScreenTop = layout.round(layout.toDevicePixels(locationOnScreen.y)); let left = layout.toDevicePixels(frame.origin.x); let top = layout.toDevicePixels(frame.origin.y);