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..
Since setting
window.scrollMonitor = scrollMonitor;
outsideif(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..