Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Round Focus visuals by default, fix nudge rendering #14312

Merged
merged 2 commits into from
Jan 29, 2025

Conversation

acoates-ms
Copy link
Contributor

@acoates-ms acoates-ms commented Jan 27, 2025

Description

Round focus visuals by default to align with fluent design.
Fix issue when the focus visual was nudged to fit into the container, which would cause the inner and outer focus visuals to overlap causing a muddy gray border on the nudged sides.

Screenshots

Before:

No rounded focus by default: (and bad bottom edge due to nudging)
Screenshot 2025-01-27 135010
Messed up focus visuals when focus visual nudged: (Visual is nudged on top three sides to fit inside a scrollviewer)
Screenshot 2025-01-27 135030

After:

Rounded focus visual:
Screenshot 2025-01-27 134646
Fixed nudged focus visual: (Visual is nudged on top three sides to fit inside a scrollviewer)
Screenshot 2025-01-27 134706

Microsoft Reviewers: Open in CodeFlow

@acoates-ms acoates-ms requested a review from a team as a code owner January 27, 2025 21:54
@acoates-ms acoates-ms merged commit 98087a7 into microsoft:main Jan 29, 2025
59 checks passed
@acoates-ms acoates-ms deleted the focusround branch January 29, 2025 18:38
acoates-ms added a commit to acoates-ms/react-native-windows that referenced this pull request Jan 29, 2025
* Round Focus visuals by default, fix nudge rendering

* Change files
acoates-ms added a commit that referenced this pull request Jan 31, 2025
… factor (#14318)

* Fix crash when currently focused element gets marked as enableFocusRing=false (#14306)

* Fix crash when currently focused element gets marked as enableFocusRing=false

* Change files

* [Fabric] Use PopupWindowSiteBridge for Modal when USE_EXPERIMENTAL_WINUI3 is true (#14284)

* add modal implementation with PopupWindowSiteBridge

* Change files

* add conditional

* feedback

* Initial support for UIA and tab navigation for a child Island (#14305)

* Basic support for stitching the UIA tree for a ContentIslandComponentView's child

* Updated comment

* Change files

* Support shift+tab, and move Automation event handlers to ContentIslandComponentView

* Allow portals to have independent layout constraints and scale factor (#14315)

* Allow portals to have independent layout constraints and scale factor

* format

* change files

* fix

* Round Focus visuals by default, fix nudge rendering (#14312)

* Round Focus visuals by default, fix nudge rendering

* Change files

* change files

* fix

* fix

* fix

---------

Co-authored-by: Tatiana Kapos <[email protected]>
Co-authored-by: JesseCol <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

3 participants