Merge branch 'DioxusLabs:master' into fix-event-bubbling

This commit is contained in:
ealmloff authored and GitHub committed 2023-12-16 06:34:00 -06:00
commit 56478d1856
101 files changed
+1705 -466

No files matched your search

+6 -1
View File
@@ -368,12 +368,17 @@ impl<'src> ScopeState {
}
let mut props = self.borrowed_props.borrow_mut();
let mut drop_props = self
.previous_frame()
.props_to_drop_before_reset
.borrow_mut();
for node in element.dynamic_nodes {
if let DynamicNode::Component(comp) = node {
let unbounded = unsafe { std::mem::transmute(comp as *const VComponent) };
if !comp.static_props {
let unbounded = unsafe { std::mem::transmute(comp as *const VComponent) };
props.push(unbounded);
}
drop_props.push(unbounded);
}
}