vain0x / DotNetKit.Wpf.AutoCompleteComboBox

ComboBox with filtering (auto-complete) for WPF
MIT License
71 stars 26 forks source link

Autocomplete Issue when deleting text #1

Closed ueltje closed 7 years ago

ueltje commented 7 years ago

Hi, your ComboBox is great and works fine. However i discovered a little issue and i would be very greatful if you could solve that:

I use the combobox like this: <dotNetKitControls:AutoCompleteComboBox ItemsSource="{Binding myList}" DisplayMemberPath="myStringItemOfmyList" TextSearch.TextPath="myStringItemOfmyList" SelectedItem="{Binding anotherValue}" SelectionChanged="Method_SelectionChanged" />

The first item of the list is auto selected when starting the program. Also this item is on focus (the text is marked) when starting.

When I now press any key to clear the marked text and search for another string, this new entered character is displayed for a very short moment. After that, the ComboBox jumps back to the initially displayed value.

Also when I delete characters of the current displayed string one after another, the following behavour occurs: Once i deleted enough characters, that more than one string would match on my current input, the ComboBox also jumps back to the initial value.

Hope my description helps. If you need more info, please ask me.

Thanks a lot in advance vor your support.

vain0x commented 7 years ago

Hello. Thanks for reporting.

I reproduced the behavior in question, fixed and deployed.

Repro steps

(1)

(2)