add bubbling data to events after merge

This commit is contained in:
Evan Almloff committed 2022-06-22 14:24:03 -05:00
1 parent 11d9a7d013
commit 2d45e1dc8d
2 files changed
+5

No files matched your search

+2
View File
@@ -6,6 +6,7 @@ use std::any::Any;
use std::sync::Arc;
use dioxus_core::{ElementId, EventPriority, UserEvent};
use dioxus_html::event_bubbles;
use dioxus_html::on::*;
#[derive(serde::Serialize, serde::Deserialize)]
@@ -46,6 +47,7 @@ pub fn trigger_from_serialized(val: serde_json::Value) -> UserEvent {
scope_id: None,
element: mounted_dom_id,
data: event,
bubbles: event_bubbles(name),
}
}