Focus dropdowns on open
This commit is contained in:
parent
ed75c31640
commit
a5d9a10d7b
1 changed files with 2 additions and 0 deletions
|
@ -440,6 +440,7 @@ impl CollabTitlebarItem {
|
||||||
})
|
})
|
||||||
.detach();
|
.detach();
|
||||||
self.project_popover.take();
|
self.project_popover.take();
|
||||||
|
cx.focus(&view);
|
||||||
self.branch_popover = Some(view);
|
self.branch_popover = Some(view);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -473,6 +474,7 @@ impl CollabTitlebarItem {
|
||||||
cx.notify();
|
cx.notify();
|
||||||
})
|
})
|
||||||
.detach();
|
.detach();
|
||||||
|
cx.focus(&view);
|
||||||
this.branch_popover.take();
|
this.branch_popover.take();
|
||||||
this.project_popover = Some(view);
|
this.project_popover = Some(view);
|
||||||
cx.notify();
|
cx.notify();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue