Files
zulip/web
Sayam Samal 5fa027a577 views_util: Use ".input-element" selector to check for focused inputs.
Previously, we were using the ".home-page-input" selector to check for
any focused input elements in the home page view of the Zulip Web UI.
Since all of these inputs, other than the navbar search input have now
been converted to filter inputs, we can simplify the logic to check for
any focused input elements with the ".input-element" selector.

The navbar search input has a different selector, "#search_query",
which is already accounted for in the views_util.is_in_focus() method.

Now, ".input-element" class will potentially be used for several other
inputs in the UI other than the home page view, but the is_in_focus()
method already accounts for other focused elements like compose,
overlays, popovers, etc, and thus the logic remains unaffected.

Fixes part of #35135.
2025-09-12 13:00:30 -07:00
..
2025-07-23 11:24:12 -07:00
2025-08-27 13:50:40 -07:00