Fix SelectedTags display on ProjectPage when multiple tags are selected#696
Merged
jfversluis merged 2 commits intodotnet:mainfrom Oct 22, 2025
Merged
Fix SelectedTags display on ProjectPage when multiple tags are selected#696jfversluis merged 2 commits intodotnet:mainfrom
jfversluis merged 2 commits intodotnet:mainfrom
Conversation
jfversluis
approved these changes
Oct 22, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue Details
When navigating to the ProjectPage with multiple selected tags, only one tag appears selected while the remaining tags are visible but not selected. This occurs because SelectedTags is being updated again inside the SelectionChanged event. During data loading, SelectionChanged is triggered for each selected item. However, updating SelectedTags inside this event prevents subsequent SelectionChanged calls from being triggered for the remaining items.
Description of Change
Removed the redundant SelectedTags update from the SelectionChanged method. The selected tags are already updated through SaveItemAsync/DeleteItemAsync and IsSelected, so updating SelectedTags again in SelectionChanged is unnecessary and causes the described issue. After removing this redundant update, multiple tag selections display correctly on the ProjectPage.
Screenshots
BeforeFixTag.mov
AfterFixTag.mov