This would just need an additional field in `ReactInfinite` case class: ``` useWindowAsScrollContainer: js.UndefOr[Boolean] = js.undefined ``` I've tried this and it seems to work fine. See also https://github.com/seatgeek/react-infinite#using-the-window-to-scroll-usewindowasscrollcontainer-mode