fix(virtual-core): loosen approxEqual to allow 1px difference #995
Mergedpiecykmerged 2 commits into
main fromrefs/pull/995/headmerged by piecyk piecyk merged this60719f6
piecyk closed this
- packages/virtual-core/src/index.ts line 1005@@ -1010,5 +1001,5 @@10101001 const [latestOffset] = notUndefined(10111002 this.getOffsetForIndex(index, align),10121003 )1013-1014- if (!approxEqual(latestOffset, this.getScrollOffset())) {1004+ const currentScrollOffset = this.getScrollOffset()1005+ if (!approxEqual(latestOffset, currentScrollOffset)) {
Sign in to join this conversation.
🦋 Changeset detected#
Latest commit: e538844fb87a09414284660ea3f3929b326cb83f
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 7 packages
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR