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

Releases: seatgeek/react-infinite

Use Babel as Compiler

Choose a tag to compare

@garetht garetht released this 15 Oct 05:42

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

Choose a tag to compare

@garetht garetht released this 14 Oct 18:01

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

Choose a tag to compare

@garetht garetht released this 23 Jul 10:10
0.4.1

Bump version.

Fixes for bundlers and other things

Choose a tag to compare

@garetht garetht released this 03 Jun 19:51

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

Choose a tag to compare

@garetht garetht released this 26 Mar 17:09

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

Choose a tag to compare

@garetht garetht released this 10 Mar 18:28
0.3.3

Bump version.

Fix bug with updating children prop

Choose a tag to compare

@garetht garetht released this 04 Mar 15:20
Merge pull request #18 from seatgeek/variables

Fix props bug, close #16

Elements of Variable Heights

Choose a tag to compare

@garetht garetht released this 02 Mar 17:58

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

Choose a tag to compare

@garetht garetht released this 25 Feb 03:53

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

Choose a tag to compare

@garetht garetht released this 09 Feb 23:14

react-infinite also works with React 0.12.2