fix interaction of editable textblock
MODIFY
WalletWasabi.Gui/Controls/EditableTextBlock.cs
WalletWasabi.Gui/Controls/EditableTextBlock.cs
@@ -71,6 +71,27 @@ namespace WalletWasabi.Gui.Controls
{
ExitEditMode();
}
+ else
+ {
+ e.Device.Capture(_textBox);
+ }
+ }
+ }, RoutingStrategies.Tunnel);
+
+ AddHandler(PointerReleasedEvent, (sender, e) =>
+ {
+ if (InEditMode)
+ {
+ var hit = this.InputHitTest(e.GetPosition(this));
+
+ if (hit == null)
+ {
+ ExitEditMode();
+ }
+ else
+ {
+ e.Device.Capture(_textBox);
+ }
}
}, RoutingStrategies.Tunnel);
}

fix interaction of editable textblock