Skip to content

Conversation

@iamAbhi-916
Copy link
Contributor

@iamAbhi-916 iamAbhi-916 commented Dec 5, 2025

Description

1> On closing modal the focus should go back to the main wndproc along with the system event message pump.
2> Modal title bar should only have Close( X ) button.
3> Modal title bar shouldn't have default application icon.

Type of Change

  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Why

Solves the UI/UX related problems with RNW modal

Resolves [Add Relevant Issue Here]
#15443
#15444

What

setforeground and setfocus for main window after closure of modal
remove icon from App window
disable minimize and maximize option for modal

Screenshots

modal_revamp.mp4

Testing

tested in playground

Changelog

Should this change be included in the release notes: _indicate yes

Add a brief summary of the change to use in the release notes for the next release.
Fixed focus restoration on close, removed minimize/maximize buttons, and hidden title bar icon for cleaner modal appearance.

Microsoft Reviewers: Open in CodeFlow

* solve modal foreground/background issue and only have a closebutton on title bar with no icon

* Change files
@iamAbhi-916 iamAbhi-916 marked this pull request as ready for review December 5, 2025 10:30
@iamAbhi-916 iamAbhi-916 requested a review from a team as a code owner December 5, 2025 10:30
@vineethkuttan vineethkuttan added the AutoMerge Causes a PR to be automatically merged once all requirements are passed (label drives bot activity) label Dec 5, 2025
@microsoft-github-policy-service microsoft-github-policy-service bot merged commit 5a68fe8 into microsoft:0.81-stable Dec 5, 2025
91 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AutoMerge Causes a PR to be automatically merged once all requirements are passed (label drives bot activity)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants