mirror of https://github.com/zulip/zulip.git
inbox: Don't capture key input when navbar search is in focus.
This commit is contained in:
parent
6815cded83
commit
2a998e98a6
|
@ -1465,7 +1465,8 @@ export function is_in_focus(): boolean {
|
||||||
!sidebar_ui.any_sidebar_expanded_as_overlay() &&
|
!sidebar_ui.any_sidebar_expanded_as_overlay() &&
|
||||||
!overlays.any_active() &&
|
!overlays.any_active() &&
|
||||||
!modals.any_active() &&
|
!modals.any_active() &&
|
||||||
!$(".home-page-input").is(":focus")
|
!$(".home-page-input").is(":focus") &&
|
||||||
|
!$("#search_query").is(":focus")
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue