Skip to content

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

Open
@lizyChy0329

Description

@lizyChy0329

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions