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

Closes #ISSUE

Release Notes:

- N/A
This commit is contained in:
Piotr Osiewicz 2025-02-02 20:39:13 +01:00 committed by GitHub
parent 691de6b4b3
commit 4885ace107
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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