DetailsList fail to render the data as it is scrolled
Bug Report
- Package version(s): (5.64.1)
- Browser and OS versions: (All browsers and Windows 10)
Priorities and help requested (not applicable if asking question):
Requested priority: ( High )
Products/sites affected: (IRIS Studio)
Describe the issue:
Scrolling down the items in DetailsList does not show all items. Instead the list will stay blank after a first 20 items.
Actual behavior:
As we scroll down to the bottom of the items, it shows empty page. Please find attached screen shot.
Expected behavior:
As we scroll down the to the bottom of the items, it should render new items.

Hey @manasark, thanks for the report. Is it possible for you to provide an isolated repro in Codepen or something similar? It will help us debug and solve whatever you are facing. Given your report I'd expect to see the same on the main site, https://developer.microsoft.com/en-us/fabric#/components/detailslist. However, it seems to be working as expected there.
@KevinTCoughlin Yes, if the DetailsList is spanning the entire page, then we dont have any issue. However, if the DetailsList is constrained to a section of the page (attached screen shot), then we notice this issue.

I observed same issue in "List" component when rendering items with same size
Hey @manasark thanks for submitting this issue and @ipip2005 thanks for noting that you see the issue in List, too!
I haven't been able to repro. I'm seeing that while scrolling, the list is blank for maybe half a second as the items are rendered, but it does seem to render pretty quickly.
Could either of you potentially provide a repro in CodePen for us, maybe forking from this DetailsList CodePen? That would make it easier for us to debug the issue. Thanks.
@manasark as a workaround i put onShouldVirtualize={() => false} on my DetailsList as mentioned in #4204.
Same issue here. onShouldVirtualize={() => false} fixes it.
This issue has been automatically marked as stale because it has marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. Thank you for your contributions to Fabric React!