Disable temporarily BringIntoView for TreeDataGridRowsPresenter
MODIFY
WalletWasabi.Fluent/Behaviors/AutoBringIntoViewExtension.cs
WalletWasabi.Fluent/Behaviors/AutoBringIntoViewExtension.cs
@@ -2,6 +2,7 @@ using Avalonia.Controls;
using Avalonia.Input;
using ReactiveUI;
using System.Reactive.Linq;
+using Avalonia.Controls.Primitives;
using Avalonia.VisualTree;
namespace WalletWasabi.Fluent.Behaviors;
@@ -32,10 +33,14 @@ public static class AutoBringIntoViewExtension
}
if (ie is IControl ic)
+ {
+ // HACK: Temporary hack to disable TreeDataGrid scrolling issue.
+ if (ic is not TreeDataGridRowsPresenter)
{
ic.BringIntoView();
}
}
+ }
if (x is IInputElement ie)
{

Disable temporarily BringIntoView for TreeDataGridRowsPresenter