fix hydration for non-bubbling events (#2234)
This commit is contained in:
1 parent
be99e29e5f
commit
4d25e3f6a2
3 files changed
+6
-2
No files matched your search
@@ -197,7 +197,7 @@ impl Renderer {
|
||||
// then write any listeners
|
||||
for name in accumulated_listeners.drain(..) {
|
||||
write!(buf, ",{}:", &name[2..])?;
|
||||
write!(buf, "{}", dioxus_html::event_bubbles(name) as u8)?;
|
||||
write!(buf, "{}", dioxus_html::event_bubbles(&name[2..]) as u8)?;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user