Temporary workarounds
MODIFY
WalletWasabi.Fluent/Views/SearchBar/SearchBar.axaml
WalletWasabi.Fluent/Views/SearchBar/SearchBar.axaml
<ia:EventTriggerBehavior EventName="GotFocus">
<ia:ChangePropertyAction TargetObject="{Binding #Popup}" PropertyName="IsOpen" Value="True" />
</ia:EventTriggerBehavior>
- <ia:EventTriggerBehavior EventName="LostFocus">
+ <!--<ia:EventTriggerBehavior EventName="LostFocus">
<ia:ChangePropertyAction TargetObject="{Binding #Popup}" PropertyName="IsOpen" Value="False" />
- </ia:EventTriggerBehavior>
+ </ia:EventTriggerBehavior>-->
</i:Interaction.Behaviors>
</TextBox>
<Popup x:Name="Popup" PlacementTarget="{Binding #Parent}">

MODIFY
WalletWasabi.Fluent/Views/SearchBar/SearchBar.axaml.cs
WalletWasabi.Fluent/Views/SearchBar/SearchBar.axaml.cs
using System.Linq;
using System.Reactive.Linq;
+using System.Threading.Tasks;
using Avalonia.Controls;
using Avalonia.Markup.Xaml;
using ReactiveUI;
+using WalletWasabi.Fluent.ViewModels;
+using WalletWasabi.Fluent.ViewModels.HelpAndSupport;
+using WalletWasabi.Fluent.ViewModels.NavBar;
using WalletWasabi.Fluent.ViewModels.Navigation;
+using WalletWasabi.Fluent.ViewModels.Search;
using WalletWasabi.Fluent.ViewModels.SearchBar;
namespace WalletWasabi.Fluent.Views.SearchBar;
@@ -22,8 +27,7 @@ public class SearchBar : UserControl
var data = NavigationManager.MetaData
.Select(m =>
{
- var reactiveCommand = ReactiveCommand.Create(
- () => { });
+ var reactiveCommand = ReactiveCommand.Create(() => MainViewModel.Instance.MainScreen.To(new AboutViewModel()));
var searchItem = new SearchItem(m.Title, m.Caption, reactiveCommand){ Icon = m.IconName };
return searchItem;
});

MODIFY
WalletWasabi.Fluent/Views/SearchBar/SearchBarDropdown.axaml
WalletWasabi.Fluent/Views/SearchBar/SearchBarDropdown.axaml
xmlns:i="clr-namespace:Avalonia.Xaml.Interactivity;assembly=Avalonia.Xaml.Interactivity"
x:Class="WalletWasabi.Fluent.Views.SearchBar.SearchBarDropdown"
xmlns:searchBar="clr-namespace:WalletWasabi.Fluent.ViewModels.SearchBar"
+ xmlns:ia="clr-namespace:Avalonia.Xaml.Interactions.Core;assembly=Avalonia.Xaml.Interactions"
xmlns:conv="clr-namespace:WalletWasabi.Fluent.Converters">
<Design.DataContext>
<TextBlock FontWeight="ExtraLight" VerticalAlignment="Center" Text="{Binding Description}" />
</DockPanel.Children>
- <!--<i:Interaction.Behaviors>
+ <i:Interaction.Behaviors>
<ia:EventTriggerBehavior EventName="PointerPressed">
<ia:InvokeCommandAction Command="{Binding Command}" />
- <ia:ChangePropertyAction TargetObject="{Binding #Popup}" PropertyName="IsOpen" Value="False"></ia:ChangePropertyAction>
+ <!--<ia:ChangePropertyAction TargetObject="{Binding #Popup}" PropertyName="IsOpen" Value="False"></ia:ChangePropertyAction>-->
</ia:EventTriggerBehavior>
- </i:Interaction.Behaviors>-->
+ </i:Interaction.Behaviors>
</DockPanel>
</DataTemplate>

Temporary workarounds