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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|