Tags: angularsen/react-virtualized
Tags
`Grid` (and its HOCs `FlexTable` and `VirtualScroll`) now support lar… …ger heights and widths than browsers support natively. For example, the current version of Chrome will not allow users to scroll pass ~33.5M pixel offset. To work around this limitation, `Grid` increases the density of cells, shifting them as a ratio of what the full scrollable size would be to a browser-safe size. This should be more or less transparent to users, although in extreme cases it can lead to _really sensitive_ scroll responsiveness.
Added new method- `measureAllCells`- to `Grid`, `FlexTable`, and `Vir… …tualScroll` to force-measure all cells. This supports special use-cases where deferred measuring is not desired. Added `estimatedRowSize` property to `FlexTable` and `VirtualScroll` to be passed through to the inner `Grid`. Also added guard to ensure the `onScroll` callback for `Collection`, `Grid`, `FlexTable`, and `VirtualScroll` is never called with a negative number.
Added `scrollToAlignment` property to `Collection`, `Grid`, `FlexTabl…
…e`, and `VirtualScroll` to offer finer-grained control of how scrolled-to cells are aligned.
Default behavior ("_auto_") remains unchanged- the least amount of scrolling will occur to ensure that the specified cell is visible.
PreviousNext