stutrek/scrollmonitor

SSR not working after v 1.2.4

iPrytz opened this issue · 0 comments

Since setting window.scrollMonitor = scrollMonitor; outside if(isInBrowser) it will break when trying to add the package in SSR-mode.
Currently testing on Nuxt (Vue SSR).

Another thing which might just me the case in our project though.. When i add the watcher on a wrapper element, the pictures in view doesn't load until i scroll a little bit. Will see if i can create a separate issue with a working example later..