diff --git a/src/util/scroll-view.ts b/src/util/scroll-view.ts index 6966c8eae0b..ba1f78ef55c 100644 --- a/src/util/scroll-view.ts +++ b/src/util/scroll-view.ts @@ -421,6 +421,13 @@ export class ScrollView { return promise; } + if (duration < 32) { + self.setTop(y); + self.setLeft(x); + done(); + return promise; + } + x = x || 0; y = y || 0;