Skip to content

onRenderCell() not called for all items in a large list when users scrolls whilst field customizer is being initialized #4656

@orbus-jmyron

Description

@orbus-jmyron

Category

  • Question
  • Typo
  • Bug
  • Additional article idea

Expected or Desired Behavior

onRenderCell() is called for each cell even if the user starts scrolling through the document list before the field customizer is full initialized.

Observed Behavior

onRenderCell() is not called for some of rows that are in the process of being loaded due to the user scrolling the document list.

Steps to Reproduce

  • Create a Field Customizer by following these instructions.
  • Create a list with 200 or more items (can be a document or item list).
  • Debug the field customizer as per the instructions in the article.
  • Keep scrolling down the list until the field customizer starts modifying the field.
  • Scroll back up the document list. Note that some of the documents have not been customized.

This reproduces easily on Chrome and less frequently on Firefox on both Windows and OSX.

Video demonstrating the above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs: Attention 👋Original poster responded to request for feedback, awaiting attention from Microsoft / community.area:spfx-extensionsCategory: SharePoint Framework Extensionsstatus:to-be-reviewedIssue needs to be reviewed by Microsoft for additional follow up / review.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions