inbox: Don't capture key input when navbar search is in focus.

This commit is contained in:
Aman Agrawal 2024-07-20 17:15:17 +00:00 committed by Tim Abbott
parent 6815cded83
commit 2a998e98a6
1 changed files with 2 additions and 1 deletions

View File

@ -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")
); );
} }