Griddle icon indicating copy to clipboard operation
Griddle copied to clipboard

shouldn't the infinite scrolling external data example sort the old and new data?

Open killerswan opened this issue 10 years ago • 6 comments

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!

killerswan avatar Mar 03 '15 20:03 killerswan

Spot on. It looks like it's an issue with GriddleWithCallback that made its way over to the docs.

Thanks for the issue!

joellanciaux avatar Mar 19 '15 23:03 joellanciaux

just noticed this today as well :+1:

tony-kerz avatar Jan 09 '16 00:01 tony-kerz

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?

Surreal9 avatar Apr 08 '16 23:04 Surreal9

Yeah, go look at the example.

killerswan avatar Apr 09 '16 00:04 killerswan

Hey, Just to clarify: Is GriddleWithCallback the only way to use infinite scroll with external data?

paulbarr avatar Jun 21 '16 12:06 paulbarr

@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

goooseman avatar Aug 09 '16 14:08 goooseman