Skip to content

Listvew mouse event doesn't cause a selecteditemchange event to fire #3316

Closed Answered by BDisp
dasien asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks. I think you can convert this discussion to an issue because the MouseClick event should only be invoked when a button was clicked and not when the mouse is reporting mouse move and button released (That the reason of the 3 events repeated).
In the same way that the selected item is changed by using the keyboard the mouse click also should fire the SelectdItemChanged event.
You can't rely on the MouseClick to get the listview selected item to display on the TextField because it's fired before the ListView process the change of the selected item.
After you convert this discussion to an issue and I'll submit a PR to fix it.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@BDisp
Comment options

Answer selected by dasien
Comment options

You must be logged in to vote
1 reply
@BDisp
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants