From 513c02e67f785712ec12136b24230ebcf8af4a7c Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Wed, 12 Oct 2022 17:39:44 -0700 Subject: [PATCH] Remove spurious focus of contact popover when opening it Co-authored-by: Nathan Sobo --- crates/collab_ui/src/collab_titlebar_item.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/crates/collab_ui/src/collab_titlebar_item.rs b/crates/collab_ui/src/collab_titlebar_item.rs index 928cf3273b..c78a50b86d 100644 --- a/crates/collab_ui/src/collab_titlebar_item.rs +++ b/crates/collab_ui/src/collab_titlebar_item.rs @@ -152,7 +152,6 @@ impl CollabTitlebarItem { let project = workspace.read(cx).project().clone(); let user_store = workspace.read(cx).user_store().clone(); let view = cx.add_view(|cx| ContactsPopover::new(project, user_store, cx)); - cx.focus(&view); cx.subscribe(&view, |this, _, event, cx| { match event { contacts_popover::Event::Dismissed => {