fix: Fix RecycleScroller end index (no-changelog) (#5272)

This commit is contained in:
Alex Grozav 2023-01-27 17:09:55 +02:00 committed by GitHub
parent cedf2e012c
commit 439c9c6e1f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -87,7 +87,7 @@ export default defineComponent({
});
const index = foundIndex + props.offset;
return index === -1 ? props.items.length - 1 : index;
return foundIndex === -1 ? props.items.length - 1 : index;
});
const visibleItems = computed(() => {