We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0491b1f commit 12201c9Copy full SHA for 12201c9
src/Views/MergeConflictEditor.axaml.cs
@@ -833,8 +833,9 @@ protected override void OnOpened(EventArgs e)
833
_resultPopup = this.FindControl<Border>("ResultPopup");
834
_resultUndoPopup = this.FindControl<Border>("ResultUndoPopup");
835
836
- // Set up scroll synchronization
837
- SetupScrollSync();
+ // Defer scroll sync setup to ensure ScrollViewers are available in the visual tree
+ Avalonia.Threading.Dispatcher.UIThread.Post(SetupScrollSync,
838
+ Avalonia.Threading.DispatcherPriority.Loaded);
839
840
if (DataContext is ViewModels.MergeConflictEditor vm)
841
{
0 commit comments