workspace: Prevent clicks from falling through on some notifications (#24104)

Piotr Osiewicz created

Closes #ISSUE

Release Notes:

- N/A

Change summary

crates/workspace/src/notifications.rs | 1 +
1 file changed, 1 insertion(+)

Detailed changes

crates/workspace/src/notifications.rs 🔗

@@ -502,6 +502,7 @@ pub mod simple_message_notification {
     impl Render for MessageNotification {
         fn render(&mut self, window: &mut Window, cx: &mut Context<Self>) -> impl IntoElement {
             v_flex()
+                .occlude()
                 .p_3()
                 .gap_3()
                 .elevation_3(cx)