Fix settings textbox focus operation running too late

This commit is contained in:
Dean Herbert 2022-04-14 20:06:00 +09:00
parent 50a478ea5f
commit 296420ae08
1 changed files with 1 additions and 1 deletions

View File

@ -163,6 +163,7 @@ protected override void PopIn()
Sidebar?.MoveToX(0, TRANSITION_LENGTH, Easing.OutQuint);
this.FadeTo(1, TRANSITION_LENGTH, Easing.OutQuint);
searchTextBox.TakeFocus();
searchTextBox.HoldFocus = true;
}
@ -213,7 +214,6 @@ private void loadSections()
loading.Hide();
searchTextBox.Current.BindValueChanged(term => SectionsContainer.SearchTerm = term.NewValue, true);
searchTextBox.TakeFocus();
loadSidebarButtons();
});