Skip to content

Conversation

akshatsinha0
Copy link

@akshatsinha0 akshatsinha0 commented Oct 15, 2025

Fixes a race condition where the validation adorner (red border) remains visible even after errors are cleared programmatically. This occurred when the adorner layer didn't exist during error occurrence, causing a delayed dispatcher operation to show the adorner using stale state.

Fixes #8969

Microsoft Reviewers: Open in CodeFlow

Fixes a race condition where the validation adorner (red border) remains visible even after errors are cleared programmatically. This occurred when the adorner layer didn't exist during error occurrence, causing a delayed dispatcher operation to show the adorner using stale state.

The fix ensures the current error state is always checked when the dispatcher operation executes, preventing the adorner from being shown for errors that have already been cleared.
@akshatsinha0 akshatsinha0 requested a review from a team as a code owner October 15, 2025 16:52
@dotnet-policy-service dotnet-policy-service bot added PR metadata: Label to tag PRs, to facilitate with triage Community Contribution A label for all community Contributions labels Oct 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Community Contribution A label for all community Contributions PR metadata: Label to tag PRs, to facilitate with triage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Red border doesn't disappear with INotifyDataErrorInfo

1 participant