Gareth

Results 39 comments of Gareth

I just happened to be working on this and using `{-# LANGUAGE ScopedTypeVariables #-}` solved the ambiguous type variable problem.

Not at the moment, but I imagine it would be a matter of replacing the `scrollX`es and the `scrollTop`s with `scrollY`s and `scrollLeft`s.

I imagine this is caused by [this processing requirement](https://github.com/seatgeek/react-infinite/blob/master/package.json#L92) in an attempt to reduce the size of the built bundle. I think I'll remove it in the next release.

Yes, I think it's regrettable that that has a dependency on `window`. I can't think of a solution that wouldn't involve either `window` or some object with the required properties...

@mhahn forgot to mention you in that.

An alternate fallback rendering method is not within the scope of this project.

Sounds good, I'll make a note to try and add an option like `useWindowAsScrollContainer={someObject}`.

@geminiyellow we are accepting pull requests!

Hmm I haven't looked into this too much, but this might be because we don't recompute the size of the window when it is resized when using `useWindowAsScrollContainer`, which we...