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
If I drag the red div onto the blue one. I get the panic:
panicked at 'node 2 in existing nodes Vec is not a child of parent. node = DomNode(
"<p>Dragging!</p>",
)', ~/.cargo/registry/src/github.com-1ecc6299db9ec823/sycamore-0.6.0/src/utils/render.rs:240:17
Expected behavior
No panic, and the "Dragging!" p node should be added to the dom tree.
Environment
Sycamore: 0.6.0
Browser: tested on Chrome, Firefox, and Safari
OS: MacOS
The text was updated successfully, but these errors were encountered:
Describe the bug
Sometimes, when a dom node is dynamically added to an existing tree, one can hit the panic in
utils::render::reconcile_fragments
.To Reproduce
Render the component below, using release 0.6.0:
If I drag the red div onto the blue one. I get the panic:
Expected behavior
No panic, and the "Dragging!"
p
node should be added to the dom tree.Environment
The text was updated successfully, but these errors were encountered: