mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-03 15:22:13 +00:00
Merge pull request #1532 from zed-industries/fix-adding-contacts
Fix focus regression in contact finder
This commit is contained in:
commit
062105edb9
1 changed files with 3 additions and 1 deletions
|
@ -43,7 +43,9 @@ impl View for ContactFinder {
|
|||
}
|
||||
|
||||
fn on_focus_in(&mut self, _: AnyViewHandle, cx: &mut ViewContext<Self>) {
|
||||
cx.focus(&self.picker);
|
||||
if cx.is_self_focused() {
|
||||
cx.focus(&self.picker);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue