Merge branch 'master' into events-2

This commit is contained in:
ealmloff authored and GitHub committed 2023-09-12 09:33:54 -05:00
commit f449823d10
16 files changed
+75 -27

No files matched your search

-1
View File
@@ -252,7 +252,6 @@ impl WebsysDom {
for id in to_mount {
let node = dioxus_interpreter_js::get_node(id.0 as u32);
if let Some(element) = node.dyn_ref::<Element>() {
log::info!("mounted event fired: {}", id.0);
let data = PlatformEventData::new(Box::new(element.clone()));
let _ = self.event_channel.unbounded_send(UiEvent {
name: "mounted".to_string(),