Fix the toggle event (#4206)

This commit is contained in:
Evan Almloff authored and GitHub committed 2025-05-27 10:27:05 +02:00
1 parent ffce3a7512
commit 77d10a40e3
2 files changed
+5 -1

No files matched your search

+2 -1
View File
@@ -93,7 +93,8 @@ pub fn event_bubbles(evt: &str) -> bool {
"animationend" => true,
"animationiteration" => true,
"transitionend" => true,
"toggle" => true,
"toggle" => false,
"beforetoggle" => false,
"mounted" => false,
"visible" => false,
_ => true,
+3
View File
@@ -85,4 +85,7 @@ impl_event! {
/// ontoggle
ontoggle
/// onbeforetoggle
onbeforetoggle
}