Skip to content
This repository has been archived by the owner on Jun 10, 2020. It is now read-only.

Releases: seatgeek/react-infinite

Use Babel as Compiler

15 Oct 05:42
Compare
Choose a tag to compare

The major change in this release is the move to Babel (from Facebook's former React tools) to compile the code. This should not, it is hoped, cause any trouble.

Ability to use full window as container

14 Oct 18:01
Compare
Choose a tag to compare

Adds an option that allows the window to be used as the scroll container, instead of an arbitrary div, when the prop useWindowAsScrollContainer is set to true. This means that scroll position is detected by window.scrollY instead of the scrollTop of the div that React Infinite creates. Using this option is a way of achieving smoother scrolling on mobile before the problem is solved for container divs.

Fix for when preloadBatchSize is 0

23 Jul 10:10
Compare
Choose a tag to compare

Fixes for bundlers and other things

03 Jun 19:51
Compare
Choose a tag to compare

This release fixes the following issues:

  • Webpack and Browserify can now use compiled CommonJS source files in /build without needing an asset pipeline to compile ES6 and JSX
  • Scrollable children with a React Infinite container will not trigger the infinite scroll handler
  • Immutable.js can be used for child elements without warnings being triggered
  • An example is given for how to use the window as the container
  • Errors in arithmetic were fixed

Fix for Browserify

26 Mar 17:09
Compare
Choose a tag to compare

Using the compiled file does not work when requiring with Browserify. Using the source files is now enabled with Browserify. You must have Reactify in your pipeline when compiling, however.

Bug fix and coverage reports

10 Mar 18:28
Compare
Choose a tag to compare
0.3.3

Bump version.

Fix bug with updating children prop

04 Mar 15:20
Compare
Choose a tag to compare
Merge pull request #18 from seatgeek/variables

Fix props bug, close #16

Elements of Variable Heights

02 Mar 17:58
Compare
Choose a tag to compare

React Infinite now supports rendering children not all of which have the same height. To use it, you may provide an array of the heights of the children.

<Infinite containerHeight={200} elementHeight={[111, 252, 143]}>
    <div className="111-px"/>
    <div className="252-px"/>
    <div className="143-px"/>
</Infinite>

Remove sourcemap requests

25 Feb 03:53
Compare
Choose a tag to compare

The built files no longer request for sourcemaps. If you wish to work on react-infinite, you can build sourcemaps with gulp -D.

Update React versions

09 Feb 23:14
Compare
Choose a tag to compare

react-infinite also works with React 0.12.2