Gareth

Results 39 comments of Gareth

@DefoyPhilip can you add a test and submit a pull request?

I'd really like to get this in as well. We're a little busy at the moment, but I'll try and get some time to do it soon.

The idiomatic way of doing this seems to be adding an `initialScrollPosition` prop rather than the suggested function. In the meantime, you can use the [`handleScroll`](https://github.com/seatgeek/react-infinite#function-handlescrolldomnode-node) prop to get store...

It's true it isn't possible to get it on the first render, but temporarily, for this specific use case where you only need to reset the position after the user...

Ah okay I don't think it'll be possible until the `initialScrollPosition` change is made.

Unfortunately not yet, but an issue has come up in our work that may need this, and I'll see if I can get time scheduled to add it.

I think the problem with the jerkiness has to do with the varying heights, which must be provided as an array of heights instead of a single integer. React Infinite...

This feature is not yet available - it wouldn't be too hard to add a `scrollTop` prop, but another prop might also be needed to control scroll animations.

I might be missing something here. What would the component be updated with if there is no new data from the feed handler?

I think this could be done with a custom computer. I haven't implemented the ability to pass a computer into the props yet, but that shouldn't be too difficult.