Calling scrollTo on a VariableSizeGrid causes a crash/loop
See original GitHub issueCalling scrollTo
on a VariableSizeGrid
component seems to cause the page to crash, as seen in the following example:
https://codesandbox.io/s/ypq502woz9
I did notice, however, that there are no test cases for scrollTo
on VariableSizeGrid
components, so apologies if the two aren’t meant to work together!
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Calling scrollTo on a VariableSizeGrid causes a crash/loop #63
Calling scrollTo on a VariableSizeGrid component seems to cause the page to crash, as seen in the following example:.
Read more >react-window: Calling scrollTo on a VariableSizeGrid causes ...
react-window: Calling scrollTo on a VariableSizeGrid causes a crash/loop. Demo of calling scrollTo on a VariableSizeGrid.
Read more >Is it possible to find the function that caused page scroll
In 2020, go to Chrome's Dev Tools, Sources tab, and on the right pane, scroll to the very bottom to find Event Listener...
Read more >Element.scrollTo() - Web APIs - MDN Web Docs
Chrome Edge
scrollTo Full support. Chrome61. Toggle history Full support. Edge79. T...
options.behavior parameter Full support. Chrome61. Toggle history Full support. Edge79. T...
options.left parameter Full...
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 FreeTop 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
Top GitHub Comments
This fix was included in the 1.2.0 release
Hi @bvaughn Please update the docs with proper interface.
For example interface at https://react-window.now.sh/#/api/FixedSizeGrid
scrollTo({scrollLeft: number, scrollTop: number}): void
should bescrollTo({scrollLeft?: number, scrollTop?: number}): void