Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix SelectedItemsChanged event arguments in SelectingItemsControl #1913

Conversation

WojciechKrysiak
Copy link
Contributor

  • What does the pull request do?
    Corrects the event arguments for replacing a selected item in SelectingItemsControl.
  • What is the current behavior?
    The arguments for the SelectedItemsChanged event are inverted.
  • What is the updated/expected behavior with this PR?
    Sets the arguments as expected.

Checklist:

  • Added unit tests

@jmacato
Copy link
Member

jmacato commented Sep 24, 2018

Idk if this should be added to the breaking changes. Someone might've been relying on the wrong parameters.

@WojciechKrysiak
Copy link
Contributor Author

I haven't found any issues referencing this bug, so it's unlikely anyone quietly assumed this will remain broken forever. I'd say it's more likely no one used this feature until now.

@danwalmsley
Copy link
Member

Wow thats a good spot! @jmacato should we get this into 0.7?

@jmacato
Copy link
Member

jmacato commented Sep 24, 2018

@danwalmsley I do think this is a critical bug fix that needs to be included with the release
@WojciechKrysiak hmm better be safe and let's add it there

@WojciechKrysiak
Copy link
Contributor Author

@jmacato done: https://github.com/AvaloniaUI/Avalonia/wiki/Breaking-Changes

Copy link
Member

@jmacato jmacato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants