Skip to content

Latest commit

 

History

History
67 lines (35 loc) · 2.57 KB

CHANGELOG.md

File metadata and controls

67 lines (35 loc) · 2.57 KB

Changelog

2.2.0

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

2.1.6

Revert inner wrapper position to relative. Using position: absolute on the inner wrapper causes scrolling issues in Safari.

2.1.5

Fix itemSizeGetter bug when scrollToIndex is defined #40, #56

2.1.4

Fix misuse of second argument of componentDidUpdate as nextState (the actual argument is prevState) #27. Thanks @gabrielecirulli!

2.1.3

Include TypeScript type definitions in npm package #26

2.1.2

Fixed build script for es modules build #22

2.1.1

Renamed onRowsRendered prop to onItemsRendered.

2.1.0

  • Added scrollToAlignment="auto" option, which scrolls the least amount possible to ensure that the specified scrollToIndex 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 to package.json

2.0.6

Fix PropType definitions for width and height props (#13)

2.0.5

Fixes slow wheel scrolling / scroll-interruption issues with browsers such as Firefox (see #7). Thanks for the contribution Magnitus-!

2.0.4

Use prop-types package for PropType validation for compatibility with React ^15.5

2.0.3

Fixes a bug introduced in 2.0.2 where nextProps.estimatedItemSize wasn't being passed down properly in componentWillReceiveProps

2.0.2

Added support for dynamic property updates to itemCount and estimatedItemSize #3

2.0.1

Fix certain unhandled scenarios in componentWillReceiveProps

2.0.0

Added support for horizontal lists via the scrollDirection prop

1.0.0

Initial release