Static GitHub Issues

[3270] nuxt-link prevents correct native scaling of inline svg (also ignores other styling)

prev: These dependencies were not found: with the nodemailer
next: PurgeCss with nuxt

Version

v1.4.0

Reproduction link

https://github.com/dimitrieh/nuxt-svg-problem

Steps to reproduce

  1. Use an svg that stretches across the whole viewport width and scales with it. See the reproduction repo
  2. Spin up project
  3. Open browser window larger than 1680px wide
  4. Click normal link to have expected behaviour
  5. Click nuxt-link to have actual behaviour
  6. Svg gets no longer scaled to viewport width (also background does no longer change?)

What is expected ?

2018-04-26 20.07.02.gif

What is actually happening?

2018-04-26 20.07.38.gif

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This bug report is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c6978">#c6978</a>)</em></sub></div>