Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

:data-index="index" is incorrect in DynamicScrollerItem demo #865

Open
2 tasks done
lizy0329-biubiubiu opened this issue Mar 28, 2024 · 0 comments
Open
2 tasks done

Comments

@lizy0329-biubiubiu
Copy link

Clear and concise description of the problem

image
image

Suggested solution

key-field and index must be consistent otherwise the size of the computed could be 0.

// DynamicScroller
key-field="post_id"
// DynamicScrollerItem
:data-index="item.post_id"
:index="item.post_id"

image

Alternative

No response

Additional context

No response

Validations

  • Read the docs.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant