AutoCompleteBox missing an event when an item has been accepted

Themes, Shared, and Core Libraries for Avalonia Forum

Posted 1 days ago by Dirk Zellerfeld
Avatar

If a user types and then selects an item from the list either via return key or via mouse click, there is no event I can listen to. Well for the return key its probably easy via key press event but not for mouse click.

The selection changed event (and SelectedItem property) triggers even if the user has not accepted an item but keeps scrolling through the list via up/down arrow keys. Or we need a property to disable text changes when scrolling through the list via up/down. If I can disable that, I could listen to the SelectedItem property.

Sorry I just noticed its an Avalonia control, I should report that to Avalonia repo instead. Being new to Avalonia

[Modified 1 days ago]

Add Comment

Please log in to a validated account to post comments.