sidebar_ui: Fix flickering of invite users button when showing sidebar.

This commit is contained in:
Aman Agrawal
2024-04-02 03:27:33 +00:00
committed by Tim Abbott
parent 9184e6cc12
commit d79e84726a
4 changed files with 39 additions and 2 deletions

View File

@@ -115,7 +115,10 @@ export class UserSearch {
initiate_search(): void {
this.expand_column();
this.show_widget();
this.$input.trigger("focus");
// Needs to be called when input is visible after fix_invite_user_button_flicker.
setTimeout(() => {
this.$input.trigger("focus");
}, 0);
}
toggle_filter_displayed(): void {