sycamore-rs / sycamore

A library for creating reactive web apps in Rust and WebAssembly
https://sycamore-rs.netlify.app
MIT License
2.79k stars 148 forks source link

Failed to iterate over a vector from the Keyed iteration. #581

Closed afidegnum closed 1 year ago

afidegnum commented 1 year ago

Describe the bug from the iteration, I'm not able to apply the has_child() which iterates the supplied vector and determine the bool status of the current element. This is a hierarchical node where I need to display if a node contains a child and when iterated, everything returned false which is a bug.

To Reproduce This works on the following repo when picked the element by index.

Steps to reproduce the behavior:

The error is happening at image

Expected behavior A clear and concise description of what you expected to happen. I was expected to see Node1 True, Node2 True, Node3 True and the rest being false.

afidegnum commented 1 year ago

bump!

lukechu10 commented 1 year ago

Closing due to stale. Please re-open if you still experience this issue.