Browse Source

Merge pull request #3075 from AvaloniaUI/fixes/3070-textbox-bringintoview

Queue caret update with correct priority.
pull/3080/head
Jumar Macato 7 years ago
committed by GitHub
parent
commit
217e0d5f7b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/Avalonia.Controls/Presenters/TextPresenter.cs

2
src/Avalonia.Controls/Presenters/TextPresenter.cs

@ -244,7 +244,7 @@ namespace Avalonia.Controls.Presenters
var rect = FormattedText.HitTestTextPosition(caretIndex);
this.BringIntoView(rect);
},
DispatcherPriority.Normal);
DispatcherPriority.Render);
}
}
}

Loading…
Cancel
Save