They have a semi flexible approach, you can define different cell types upfront
that might work for a lot of cases
I actually have most of the problems solved. I'm just trying to find time to actually work on it
react-infinite looks good though
cool, I will give it a shot if its ready
This may be a super dumb question, but I'm struggling to figure out how to actually compile the library to run in the browser? I'm building my simple React app with Gulp. Do I need to browserify React-Infinity or is there some other recommended flow to this?
Hi, I'm having trouble getting the app to work in horizontal mode. I would like to show a horizontal infinite slider within a larger page. Therefore the slider should only be as high as the elements. But the div is actually thousands of pixels high. I have set direction to 'horizontal'.
@egukin React-Infinity is written in ES5 and doesn't need any transpilation. It is, however, commonJS only, so you will need Browserify or Webpack to require it in your own project.
If you want to drop it as a script tag, look at Browserify --standalone to compile it.
@sbaechler That sounds like a bug. I'm not using the Horizontal mode in any app, so it's not very well tested. If you could create an issue on Github, I'll be sure to take a look.
Also, if you would be kind enough to donate an example project for horizontal mode testing via a PR, that would be amazing!
Fixing it would need some design considerations first. I can think of two ways one would use a horizontal slider. Either the slider has the height of one element or the height of the device. For the first case, the element would define the height of the slider while for the second case the slider would define the height of the element. I ended up removing the horizontal slider completely from my project.
@sbaechler The current implementation is supposed to support the first use-case. You can define the max-rows for horizontal layouts
But the 2.0 which I've been working on, like, forever, lets you define the size for the container
and the max-rows/columns
So, in the last few months, the design considerations are all I've actually finished any work on :(
Hello, i am trying to use react-infinity but i got some errors is there anyone to help ?