Skip to content

Commit ab2fe8f

Browse files
committed
Move suggestion caret
1 parent 846333a commit ab2fe8f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Flow.Launcher/Converters/QuerySuggestionBoxConverter.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ public object Convert(object[] values, Type targetType, object parameter, Cultur
1717
}
1818
var QueryText = values[1] as TextBox;
1919
var Suggestion = values[0] as TextBox;
20+
Suggestion.CaretIndex = QueryText.CaretIndex;
2021
Suggestion.ScrollToHorizontalOffset(QueryText.HorizontalOffset);
22+
2123
// first prop is the current query string
2224
var queryText = QueryText.Text;
2325

0 commit comments

Comments
 (0)