Added support for stickyIndices
. Pass an array of indexes (eg. [0, 10, 25, 30]) to the stickyIndices
prop to make certain items in the list sticky (position: sticky) #55
Revert inner wrapper position to relative
. Using position: absolute
on the inner wrapper causes scrolling issues in Safari.
Fix itemSizeGetter bug when scrollToIndex
is defined #40, #56
Fix misuse of second argument of componentDidUpdate
as nextState
(the actual argument is prevState
) #27. Thanks @gabrielecirulli!
Include TypeScript type definitions in npm package #26
Fixed build script for es modules build #22
Renamed onRowsRendered
prop to onItemsRendered
.
- Added
scrollToAlignment="auto"
option, which scrolls the least amount possible to ensure that the specifiedscrollToIndex
item is fully visible #19 - Added
onRowsRendered
prop that is invoked with information about the slice of rows that were just rendered #14 - Converted project to TypeScript and added
types
entry topackage.json
Fix PropType definitions for width
and height
props (#13)
Fixes slow wheel scrolling / scroll-interruption issues with browsers such as Firefox (see #7). Thanks for the contribution Magnitus-!
Use prop-types
package for PropType validation for compatibility with React ^15.5
Fixes a bug introduced in 2.0.2
where nextProps.estimatedItemSize
wasn't being passed down properly in componentWillReceiveProps
Added support for dynamic property updates to itemCount
and estimatedItemSize
#3
Fix certain unhandled scenarios in componentWillReceiveProps
Added support for horizontal lists via the scrollDirection
prop
Initial release