Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix click events leaking through the announcement toast (#54053)
Danilo Leal96332a2c2f5a
diff --git a/crates/ui/src/components/notification/announcement_toast.rs b/crates/ui/src/components/notification/announcement_toast.rsindex 920f97f9959..215d8b9aedf 100644--- a/crates/ui/src/components/notification/announcement_toast.rs+++ b/crates/ui/src/components/notification/announcement_toast.rs@@ -101,6 +101,8 @@ impl RenderOnce for AnnouncementToast {let illustration = self.illustration;v_flex()+ .id("announcement-toast")+ .occlude().relative().w_full().elevation_3(cx)