Skip to content

SVG foreignObject not working in Vue 2.0 #4122

@JollyGood1

Description

@JollyGood1

Vue.js version

2.0.3

Reproduction Link

https://jsfiddle.net/Linusborg/4j2v4fm9/

Steps to reproduce

  • Run it once as is.
  • Once without var vue = new Vue({ el: '#body'});
  • Once with version 1.0.26 instead of 2.0.3.

What is Expected?

  • In version 2.0.3 you will see no text inside the rectangle.
  • When you run it without Vue the text will work fine.
  • In version 1.0.26 the text will also be fine.

What is actually happening?

I don't know, but the resulting HTML stays the same whether the text is seen or not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions