React-virtualized: Rows disappear with scrollToIndex and overscanRowCount=0

Created on 6 Jul 2016  路  7Comments  路  Source: bvaughn/react-virtualized

Reproduced here: https://plnkr.co/edit/gFk7uXNajnowcmzO0vD0

The combination of scrollToIndex, scrollToAlignment = (start|center), and overscanRowCount = 0 results in rows disappearing when the row whose index was specified cannot be placed at the start/center of the list without scrolling beyond the scrolling element's limit.

bug

All 7 comments

Hey @fritz-c,

Help me understand what I'm looking at. On my screen, the Plunker scrolls to the bottom of the list (as I think it should) when the scroll-to-index is too high.

screen shot 2016-07-05 at 7 03 25 pm

Am I misunderstanding what you're reporting? Am I seeing something different than you?

Hmm... I suppose it might be browser-dependent. Here's what I see on OS X 10.11.5 / Chrome 51:
issue

OSX 10.11.3 / Chrome 51.0.2704.106 (64-bit)

image

I am running OS X 10.11.5. Interesting enough I _can_ reproduce this behavior on Firefox but not on my other browsers.

Cannot reproduce

  • Chrome 51.0.2704.103.
  • Chromium 48.0.2553.0
  • Safari 9.1.1

Can reproduce

  • Firefox 47.0

Never mind. I've identified the issue. Thanks for the helpful Plnkr!

I've fixed this locally but I'm too tired to trust myself do an adequately tested release. I'll push one out in the morning. :)

Fixed and released as 7.11.8.

Thanks again for the quality bug report!

Thanks for the speedy fix!

Was this page helpful?
0 / 5 - 0 ratings