question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Calling scrollTo on a VariableSizeGrid causes a crash/loop

See original GitHub issue

Calling 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:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
bvaughncommented, Oct 1, 2018

This fix was included in the 1.2.0 release

0reactions
savabozocommented, Oct 6, 2019

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 be scrollTo({scrollLeft?: number, scrollTop?: number}): void

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found