List renders only single item when rendered in an iframe
See original GitHub issueHi, I have a component where I render this
render() {
return <Virtuoso
totalCount={99}
item={index => <div>Item {index}</div>}
style={{ height: '400px', width: '100px' }}
/>
}
but only single one item is rendered

anyone knows what could cause this?
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
How can I make an iframe capture ONLY one element of a ...
I'm trying to capture div#map-canvas from my site, www.RichBlocksPoorBlocks.com, to make an iframe that people can embed anywhere. Here's my ...
Read more >The ultimate guide to iframes - LogRocket Blog
Not a fan of iframes? This post provides an overview of the tag's best features, shows you how to use them, and how...
Read more ><iframe>: The Inline Frame element - HTML - MDN Web Docs
The <iframe> HTML element represents a nested browsing context, embedding another HTML page into the current one.
Read more >Iframes with React: Best Practices | by Andrea Perera
render (<App />, document.getElementById("container"));. However, though it's easy to embed an Iframe into your React app, making it secure, fast ...
Read more >An introduction to dynamic list rendering in Vue.js
This is in part due to using reusable web components. For example, we can see the list of tweets as a list of...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I have cloned this repo to create unit test for this and fix it. After I looked at file
Virutoso.test.tsxand I started doing thisI found out that the items.length is 1 unless you add an initialItemCount And it also fixes my iframe issue.
I am closing this, as I think this (my original issue) is not relevant anymore since the big refactor.