You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Working on a Nuxt custom module, I register globally the mixin in a plugin with Vue.mixin(inViewport)
When first loading my page with 3 components using the watcher I get this error:
IntersectionObserver constructor: Element of sequence branch of (double or sequence) is not a finite floating-point value.
If the webpack hot reloader rebundles the error disappears and it all works well...
Can't we use the mixin globally?
The text was updated successfully, but these errors were encountered:
Huh, I've never tried it globally ... it could be an issue related to it being added to Nuxt page or layout components than perhaps don't have an $el when they are first mounted.
Working on a Nuxt custom module, I register globally the mixin in a plugin with Vue.mixin(inViewport)
When first loading my page with 3 components using the watcher I get this error:
IntersectionObserver constructor: Element of sequence branch of (double or sequence) is not a finite floating-point value.
If the webpack hot reloader rebundles the error disappears and it all works well...
Can't we use the mixin globally?
The text was updated successfully, but these errors were encountered: