When a v-parallax component is removed before it's image finishes loading, an error is printed to the consle: "Uncaught TypeError: Cannot read property 'naturalHeight' of undefined"
Vue 2.4.1 Vuetify 0.14.2, Fedora 26, Chrome 59.0.3071.115
No error should be logged.
Uncaught TypeError: Cannot read property 'naturalHeight' of undefined error logged to console.
As far as I can tell, there are no other negative side-effects.
If Parallax.js had:
objHeight () {
      return this.$refs.img ? this.$refs.img.naturalHeight : 0
    },
instead of:
objHeight () {
      return this.$refs.img.naturalHeight
    },
the error would go away, but I'm not sure what potential knock on effects that might have.
The error has changed in the 0.14.5 release, it's now:
vuetify.js?dc48:5494 Uncaught TypeError: Cannot read property 'complete' of undefined
    at VueComponent.init (vuetify.js?dc48:5494)
    at boundFn (vue.esm.js?efeb:178)
which is in the init method of parallax on the if (this.$refs.img.complete) { line.
When we set svg file (wich is converted in base64) in IE11 (ok in FF/chrome)
example : <v-parallax :src="require('@/assets/img/parallax-banner.svg')" height="380">
this.$refs.img.naturalHeight equal to 0 and the 'transform: translate(-50%, y );' is broken. (https://github.com/vuetifyjs/vuetify/blob/dev/src/components/VParallax/VParallax.js#L60)
replace by :
    objHeight: function objHeight() {
      if(this.$refs.img.naturalHeight){
        return this.$refs.img.naturalHeight
      }
      if(this.$refs.img.height){
        return this.$refs.img.height
      }
      return 0;
    }
                    If this solves another issue, please feel free to commit a PR @usb248
https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/639092/
I haven't time at the moment .. Can you make a fix ?
I think that : return this.$refs.img.naturalHeight || this.$refs.img.height || 0; can do the job
Still error with v-parallax in last version 1.5.x :
Most helpful comment
Still error with v-parallax in last version 1.5.x :

