Skip to content

Conversation

@snechaev
Copy link
Contributor

✨ What kind of change does this PR introduce? (Bug fix, feature, docs update...)

Bug fix. Ref. #4897

⤵️ What is the current behavior?

MvxTableViewSource does not call SelectionChangedCommand when selection become empty.

🆕 What is the new behavior (if this is a feature change)?

MvxTableViewSource will call SelectionChangedCommand when selection become empty, so developer can handle the empty selection.

💥 Does this PR introduce a breaking change?

Yes. The SelectionChangedCommand now may be called in the situation where it was not called previously and with arguments like default(T) which might be not used previously.

🐛 Recommendations for testing

See #4897 for the code sample. Pay attention to the case when you binding the collection of the value types.

📝 Links to relevant issues/docs

issue #4897

🤔 Checklist before submitting

@github-actions github-actions bot added the p/mac macOS platform label May 14, 2025
@snechaev snechaev force-pushed the NSTableViewEmptySelectionFix branch from b3573b8 to 80b1b41 Compare May 26, 2025 14:22
@snechaev snechaev force-pushed the NSTableViewEmptySelectionFix branch from 80b1b41 to 46252cd Compare June 6, 2025 12:43
@snechaev
Copy link
Contributor Author

The changes seems to be approved, but not merged (and the branch become outdated since the approval time).
Is it CI-related problem (broken build and auto merge pipeline)?

Error: Error: missing "id-token" permission. Please add "permissions: id-token: write" to your workflow.

Or I'm really missing something in the PR code which should be addressed.

@Cheesebaron Cheesebaron merged commit 842e5fe into MvvmCross:develop Jun 30, 2025
6 of 7 checks passed
@snechaev snechaev deleted the NSTableViewEmptySelectionFix branch June 30, 2025 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

p/mac macOS platform

Development

Successfully merging this pull request may close these issues.

2 participants