focus the tagsbox when edit dialog opens.
MODIFY
WalletWasabi.Fluent/Controls/TagsBox.axaml.cs
WalletWasabi.Fluent/Controls/TagsBox.axaml.cs
@@ -198,6 +198,13 @@ namespace WalletWasabi.Fluent.Controls
.DisposeWith(_compositeDisposable!);
}
+ protected override void OnGotFocus(GotFocusEventArgs e)
+ {
+ base.OnGotFocus(e);
+
+ _internalTextBox?.Focus();
+ }
+
private void CheckIsInputEnabled()
{
if (Items is IList x && ItemCountLimit > 0)

MODIFY
WalletWasabi.Fluent/Views/Wallets/Receive/AddressLabelEditView.axaml
WalletWasabi.Fluent/Views/Wallets/Receive/AddressLabelEditView.axaml
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:c="using:WalletWasabi.Fluent.Controls"
xmlns:receive="clr-namespace:WalletWasabi.Fluent.ViewModels.Wallets.Receive"
+ xmlns:i="clr-namespace:Avalonia.Xaml.Interactivity;assembly=Avalonia.Xaml.Interactivity"
+ xmlns:behaviors="using:WalletWasabi.Fluent.Behaviors"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:DataType="receive:AddressLabelEditViewModel"
x:CompileBindings="True"
SuggestionsAreCaseSensitive="True"
RestrictInputToSuggestions="False"
VerticalAlignment="Top"
- MaxWidth="320"/>
+ MaxWidth="320">
+ <i:Interaction.Behaviors>
+ <behaviors:FocusOnAttachedBehavior />
+ </i:Interaction.Behaviors>
+ </c:TagsBox>
</c:ContentArea>
</UserControl>
\ No newline at end of file

focus the tagsbox when edit dialog opens.