Closed deldeldeldeldel closed 4 years ago
yes, I think is for the new default prop of scrollelement = window, so I think this could be solved with something like:
scrollElement: typeof window !== "undefined" ? window : null
Lets wait form @gm0t and see what he think.
Fixed in 2.0.3
"window" is not available during server side rendering. With latest version, before it was ok