SVG foreignObject not working in Vue 2.1.5 #4478

Closed
anthonyjl opened this Issue Dec 14, 2016 · 0 comments

Projects

None yet

2 participants

@anthonyjl
anthonyjl commented Dec 14, 2016 edited

SVG foreignObjects were working after the #4122 fix but have been broken again.

Vue.js version
2.1.5

Reproduction Link
https://jsfiddle.net/oqctnm08/

Steps to reproduce

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

What is expected?

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

What is actually happening?
Some change between 2.1.4 and 2.1.5 reverted the fix to this.

@yyx990803 yyx990803 closed this in 6116bbf Dec 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment