-
Notifications
You must be signed in to change notification settings - Fork 794
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
Virtual DOM bug: <slot /> array on second render #1997
Labels
Comments
it seems tobe related to #1968 |
I just encountered this issue too. It would be nice to have the fix merged soon. 🙏 |
Please signal boost @johnjenkins' PR please! Reactions there will be the source of truth for which of the many PR's out that we will take on next. |
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Stencil version:
I'm submitting a:
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://stencil-worldwide.herokuapp.com/ or https://forum.ionicframework.com/
Current behavior:
When rendering an array into a
<slot />
, during the initial render, array items are added at the correct location in the DOM.On a second render, a new array element is rendered as a child of the parent's parent.
Expected behavior:
On the second render, the new array element is a DOM sibling to other array elements.
Steps to reproduce:
Repro link: https://github.com/petermikitsh/stencil-vdom-bug
Related code:
The text was updated successfully, but these errors were encountered: