Revert "scroller: no reflow if nothing changed"

This reverts commit a09d520c8e.
old-stable24
Varun Patil 2022-10-14 16:42:59 -07:00
parent a09d520c8e
commit 48ba5d35ac
1 changed files with 0 additions and 7 deletions

View File

@ -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;