Skip to content

Fix SelectedTags display on ProjectPage when multiple tags are selected#696

Merged
jfversluis merged 2 commits intodotnet:mainfrom
Vignesh-SF3580:fix-tagUpdate
Oct 22, 2025
Merged

Fix SelectedTags display on ProjectPage when multiple tags are selected#696
jfversluis merged 2 commits intodotnet:mainfrom
Vignesh-SF3580:fix-tagUpdate

Conversation

@Vignesh-SF3580
Copy link
Contributor

@Vignesh-SF3580 Vignesh-SF3580 commented Oct 22, 2025

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

Before Issue Fix After Issue Fix
BeforeFixTag.mov
AfterFixTag.mov

@Vignesh-SF3580 Vignesh-SF3580 marked this pull request as ready for review October 22, 2025 11:03
@jfversluis jfversluis merged commit 00cdb28 into dotnet:main Oct 22, 2025
3 checks passed
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.

2 participants