vue-parallax-js icon indicating copy to clipboard operation
vue-parallax-js copied to clipboard

Cannot read property 'offsetTop' of undefined

Open tarvitworking opened this issue 4 years ago • 2 comments

<svg class="hp-flower" aria-hidden="true" v-parallax="0.3">
      <use xlink:href="@/assets/img/hp-flower.svg#hp-flower" />
</svg>

TypeError: Cannot read property 'offsetTop' of undefined

tarvitworking avatar Sep 15 '20 10:09 tarvitworking

svg node doesn't have offsetTop can you wrap it in an html element?

etx avatar Nov 17 '20 02:11 etx

Same issue, cannot get it to work with any elements containing an svg. So basically every component...

guycode avatar Jan 28 '21 17:01 guycode