Griddle
Griddle copied to clipboard
shouldn't the infinite scrolling external data example sort the old and new data?
The example at the bottom, here, seems broken. Go to the bottom example, here, click "country", and scroll down: http://dynamictyped.github.io/Griddle/infiniteScroll.html
While it seems to load more sorted data on scrolling, the old data is not sorted together with it!
Spot on. It looks like it's an issue with GriddleWithCallback that made its way over to the docs.
Thanks for the issue!
just noticed this today as well :+1:
Is this still an issue? Is GriddleWithCallback the only way to use infinite scroll with external data? Does this mean sorting/filtering with infinite scroll is broken?
Yeah, go look at the example.
Hey, Just to clarify: Is GriddleWithCallback the only way to use infinite scroll with external data?
@paulbarr https://github.com/GriddleGriddle/Griddle/issues/55 here there is fiddle, which is using infinite scroll without GriddleWithCallback this is the direct link to the fiddle: http://jsfiddle.net/joellanciaux/m9hyhwra/2/ the main secret here is using externalIsLoading prop on Griddle