petyosi / react-virtuoso

The most powerful virtual list component for React
https://virtuoso.dev
MIT License
5.25k stars 301 forks source link

[BUG] Scrolling in tables broken in 2.3.2 #534

Closed markwoon closed 2 years ago

markwoon commented 2 years ago

Describe the bug

Scrolling in tables no longer works after upgrading to 2.3.2 from 2.3.1.

This is while attempting to use react-virtuoso in tables using the method described in #42.

Reproduction https://codesandbox.io/s/virtuoso-table-forked-jixu5

To Reproduce Steps to reproduce the behavior:

  1. Go to https://codesandbox.io/s/virtuoso-table-forked-jixu5
  2. Set react-virtuoso version to 2.3.1
  3. Scroll in table and see that things scroll properly
  4. Set react-virtuoso version to 2.3.2 (or higher)
  5. Scroll in table and see scrolling is not working

Expected behavior Scrolling should work as in 2.3.1

I know you're not really supporting tables, but I would love to see a fix for this...

petyosi commented 2 years ago

Duplicate of #533