Skip to content

Fix windows crash in components - #4208

Merged
Jason Morse (JasonVMo) merged 3 commits into
mainfrom
user/jasonvmo/windows-crash
Aug 20, 2026
Merged

Fix windows crash in components#4208
Jason Morse (JasonVMo) merged 3 commits into
mainfrom
user/jasonvmo/windows-crash

Conversation

@JasonVMo

Copy link
Copy Markdown
Contributor

Platforms Impacted

  • iOS
  • macOS
  • win32 (Office)
  • windows
  • android

Description of changes

We were hitting an issue with RNW where on focus, the Button dynamically added outline* styles, causing BorderPrimitive::TryUpdateSpecialBorderLayers to insert Composition visuals into stale state and terminate with 0xc0000409.

This now adds a primitive type to components for focus visuals that supports both single and dual ring visuals that is set as an overlay, avoiding the bug entirely.

Verification

Tested on both windows and macos

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