-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
scrollToIndex will not SSR the specified index. #587
Comments
react-virtualized reacts to changes in scroll offset by rendering the appropriate items. Convenience props like This doesn't work in a SSR context because there is no UI (yet) to scroll. A |
@bvaughn Thx for quick reply! Now it's clear, it makes sense! Thanks |
@bvaughn Based on what the component is doing so far, how is easy would it be to add a prop such as Thanks |
Not sure. If you would like to investigate and submit a PR, feel free. 😄 |
@bvaughn Thanks! Will investigate! |
Let's continue this in a PR, or reopen if further discussion is needed! |
Sounds good Moshe. Thanks!
|
Hi All,
First of all thank you for such a great component!
Recently tried to SSR the
{ List }
component and could not server side the specific index.This is the code (a small POC) that I'm running.
App.js
server.js
SSR output "appString ="
As you can see from the output the 50th element was not SSR.
Is this expected behaviour?
Let me know if you need more info.
Thank you!
The text was updated successfully, but these errors were encountered: