Fix focus regression in contact finder
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
This commit is contained in:
1 parent
3a30578d20
commit
e5c2196cd9
1 file changed
+3
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user