From a5d9a10d7bf423b44bf43064b1a2dbb57ab235ea Mon Sep 17 00:00:00 2001 From: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com> Date: Fri, 30 Jun 2023 19:48:28 +0200 Subject: [PATCH] Focus dropdowns on open --- crates/collab_ui/src/collab_titlebar_item.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/collab_ui/src/collab_titlebar_item.rs b/crates/collab_ui/src/collab_titlebar_item.rs index 1fdce6f186e6965b47271261dcff32e0fc48c481..b68095878dcc21c2a93da6e488c4541c1349afa7 100644 --- a/crates/collab_ui/src/collab_titlebar_item.rs +++ b/crates/collab_ui/src/collab_titlebar_item.rs @@ -440,6 +440,7 @@ impl CollabTitlebarItem { }) .detach(); self.project_popover.take(); + cx.focus(&view); self.branch_popover = Some(view); } } @@ -473,6 +474,7 @@ impl CollabTitlebarItem { cx.notify(); }) .detach(); + cx.focus(&view); this.branch_popover.take(); this.project_popover = Some(view); cx.notify();