You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Help us to manage our issues by answering the following:
Describe your issue:
With Riot v4, the elements which exists in pre-mounted tag in caller file (like index.html) is inserted into riot tag not the place in exists.
For example, if <my-tag><h1>hello</h1></my-tag> is in index.html and <my-tag><div><slot /></div></my-tag> is in my-tag.riot, the outcome will be <my-tag><h1>hello</h1><div></div></my-tag>. I expect the result like <my-tag><div><h1>hello</h1></div></my-tag>.
I think this is a bug cuz with Riot v3 I could not see such a behavior.
Help us to manage our issues by answering the following:
With Riot v4, the elements which exists in pre-mounted tag in caller file (like
index.html
) is inserted into riot tag not the place in exists.For example, if
<my-tag><h1>hello</h1></my-tag>
is inindex.html
and<my-tag><div><slot /></div></my-tag>
is inmy-tag.riot
, the outcome will be<my-tag><h1>hello</h1><div></div></my-tag>
. I expect the result like<my-tag><div><h1>hello</h1></div></my-tag>
.I think this is a bug cuz with Riot v3 I could not see such a behavior.
Yes.
Riot v4 example
Riot v3 comparison
Chrome/Mac
4.6.5
The text was updated successfully, but these errors were encountered: