Focus dropdowns on open

This commit is contained in:
Piotr Osiewicz 2023-06-30 19:48:28 +02:00
parent ed75c31640
commit a5d9a10d7b

View file

@ -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();