-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Components slots are not rendered inside svg foreignObject #11315
Comments
posva
changed the title
Complex components are not rendered in svg foreignObject
Components slots are not rendered inside svg foreignObject
Apr 16, 2020
zhangzhonghe
added a commit
to zhangzhonghe/vue
that referenced
this issue
Apr 26, 2020
#11349 This is not a problem anymore because I have fixed it and submitted PR😁. |
This comment has been minimized.
This comment has been minimized.
13 tasks
zhangzhonghe
added a commit
to zhangzhonghe/vue
that referenced
this issue
Jan 2, 2023
zhangzhonghe
added a commit
to zhangzhonghe/vue
that referenced
this issue
Apr 24, 2023
zhangzhonghe
added a commit
to zhangzhonghe/vue
that referenced
this issue
Apr 24, 2023
13 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
2.6.11
Reproduction link
https://jsfiddle.net/AleksandrasNovikovas/w042x1c8/
Steps to reproduce
Run provided fiddle. There are three svg boxes with foreignObject:
What is expected?
All three boxes should show link and input elements
What is actually happening?
Third box does not show link and input elements.
While inspecting DOM (in chrome or in firefox) you will find that elements of second box and third box are identical.
Problem is their types: (in chome dev console select element and tab properties)
select input element from second box and you will find following list: Object->EventTarget->Node->Element->HTMLElement->HTMLInputElement->input;
select input element from third box and you will find following list: Object->EventTarget->Node->Element->SVGElement->input;
The text was updated successfully, but these errors were encountered: