From b31146097ee156f28d145722b6bdc6b14ea0bb7f Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Fri, 14 Oct 2022 16:42:13 -0700 Subject: [PATCH] Revert "scroller: no reflow if nothing changed" This reverts commit a29eeedc663a9ae92e715ca426481c74844bc390. --- src/components/ScrollerManager.vue | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/components/ScrollerManager.vue b/src/components/ScrollerManager.vue index 7fe97ff2..caeaea07 100644 --- a/src/components/ScrollerManager.vue +++ b/src/components/ScrollerManager.vue @@ -124,15 +124,8 @@ export default class ScrollerManager extends Mixins(GlobalMixin) { this.recreate(); } - // Height of recycler view - const oldRecyclerHeight = this.recyclerHeight; this.recyclerHeight = this.recycler.$refs.wrapper.clientHeight; - // Check if nothing changed - if (orderOnly && oldRecyclerHeight === this.recyclerHeight) { - return; - } - // Static extra height at top const rb = this.recyclerBefore as Element; const extraHeight = rb?.clientHeight || 0;