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
I need to create a reproducer, but I think there is a bug in the use_drop when the ref is placed in a nested context:
#[function_component(Other)]fnother(props:&ChildrenProps) -> Html{html!(<div> {for props.children.iter()} </div>)}#[function_component(Example)]fnexample() -> Html{let node = use_node_ref();let drop = use_drop(node.clone());html!(
<div ref={node}> // works when it's here
<Other>
<div ref={node}> // but not when it's here
</div>
</Other>
</div>
)}
Through the browser's DOM inspector, I can see the events being attached when putting the ref on the other one, but not when it's in the inner one.
The text was updated successfully, but these errors were encountered:
ctron
added a commit
to patternfly-yew/patternfly-yew-quickstart
that referenced
this issue
Aug 1, 2023
I need to create a reproducer, but I think there is a bug in the
use_drop
when the ref is placed in a nested context:Through the browser's DOM inspector, I can see the events being attached when putting the
ref
on the other one, but not when it's in the inner one.The text was updated successfully, but these errors were encountered: