parent
a09d520c8e
commit
48ba5d35ac
|
@ -124,15 +124,8 @@ export default class ScrollerManager extends Mixins(GlobalMixin) {
|
||||||
this.recreate();
|
this.recreate();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Height of recycler view
|
|
||||||
const oldRecyclerHeight = this.recyclerHeight;
|
|
||||||
this.recyclerHeight = this.recycler.$refs.wrapper.clientHeight;
|
this.recyclerHeight = this.recycler.$refs.wrapper.clientHeight;
|
||||||
|
|
||||||
// Check if nothing changed
|
|
||||||
if (orderOnly && oldRecyclerHeight === this.recyclerHeight) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Static extra height at top
|
// Static extra height at top
|
||||||
const rb = this.recyclerBefore as Element;
|
const rb = this.recyclerBefore as Element;
|
||||||
const extraHeight = rb?.clientHeight || 0;
|
const extraHeight = rb?.clientHeight || 0;
|
||||||
|
|
Loading…
Reference in New Issue