Example repro:
AutoCompleteBox is populated with a list of similar strings
- Bob
- Bob Dylan
- Bob Marley
- Bob Marley and the Wailers
If the user types the string 'Bob', then the first item is automatically selected without the user touching the list.
This may be good for some scenarios, but in this case it makes it impossible for the user to type Bob Dylan, Bob Marley and so on.
It would be good to have a configurable IsAutoSelectEnabled property to turn this behaviour off, as it's currently going to cause us to have to write our own implementation of AutoCompleteBox.
Otherwise, I think the autoselect has a defect in this case, it should only happen if there is a single item remaining in the AutoCompleteBox list.
Comments: ** Comment from web user: nschmid **
AutoCompleteBox is populated with a list of similar strings
- Bob
- Bob Dylan
- Bob Marley
- Bob Marley and the Wailers
If the user types the string 'Bob', then the first item is automatically selected without the user touching the list.
This may be good for some scenarios, but in this case it makes it impossible for the user to type Bob Dylan, Bob Marley and so on.
It would be good to have a configurable IsAutoSelectEnabled property to turn this behaviour off, as it's currently going to cause us to have to write our own implementation of AutoCompleteBox.
Otherwise, I think the autoselect has a defect in this case, it should only happen if there is a single item remaining in the AutoCompleteBox list.
Comments: ** Comment from web user: nschmid **
This also affects the phone toolkit. Workaround:
* set a variable to true in OnClick
* only process SelectionChanged when the variable is true, and set it back to false