mirror of https://github.com/zulip/zulip.git
giphy: Set focus to the query input after clearing it.
These changes improve keyboard navigation in the Giphy popover. Fixes: #26096.
This commit is contained in:
parent
21aeb4a040
commit
74c8852233
|
@ -214,7 +214,7 @@ export function initialize() {
|
|||
|
||||
$("body").on("click", "#giphy_search_clear", async (e) => {
|
||||
e.stopPropagation();
|
||||
$("#giphy-search-query").val("");
|
||||
$("#giphy-search-query").val("").trigger("focus");
|
||||
await update_grid_with_search_term();
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue