Skip to content

Latest commit

 

History

History
75 lines (39 loc) · 2.78 KB

File metadata and controls

75 lines (39 loc) · 2.78 KB

Changelog

2.3.1

Fix enums not being properly transpiled when building bundle.

2.3.0

Upgrade dependencies and mark componentWillReceiveProps as UNSAFE so that no react warnings would be logged to console.

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