Skip to content

Commit

Permalink
fix flicker issue in ios
Browse files Browse the repository at this point in the history
  • Loading branch information
es021 committed Mar 27, 2024
1 parent 0f2e362 commit 9827b50
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,12 @@ export default {
// since we are reusing the same DOM node
const oldSize = this.vscrollData.sizes[oldValue]
const size = this.vscrollData.sizes[value]
if (size != null && size !== oldSize) {
this.applySize(size);
return;
}
if (oldSize != null && oldSize !== size) {
this.applySize(oldSize)
}
Expand Down

0 comments on commit 9827b50

Please sign in to comment.