fix focus next item behavior.
MODIFY
WalletWasabi.Fluent/Behaviors/FocusNextItemBehavior.cs
WalletWasabi.Fluent/Behaviors/FocusNextItemBehavior.cs
@@ -29,6 +29,8 @@ namespace WalletWasabi.Fluent.Behaviors
{
var parentControl = AssociatedObject.FindAncestorOfType<ItemsControl>();
+ if (parentControl is { })
+ {
foreach (var item in parentControl.GetLogicalChildren())
{
var nextToFocus = item.FindLogicalDescendantOfType<TextBox>();
@@ -39,6 +41,9 @@ namespace WalletWasabi.Fluent.Behaviors
return;
}
}
+
+ AssociatedObject?.Focus();
+ }
})
.DisposeWith(disposables);
}

fix focus next item behavior.