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

@iamAbhi-916 iamAbhi-916 marked this pull request as ready for review December 5, 2025 05:43
@iamAbhi-916 iamAbhi-916 requested a review from a team as a code owner December 5, 2025 05:43
Copy link
Contributor

@protikbiswas100 protikbiswas100 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@iamAbhi-916 iamAbhi-916 merged commit 68eb3eb into microsoft:main Dec 5, 2025
30 checks passed
@iamAbhi-916 iamAbhi-916 deleted the modal_redesign branch December 5, 2025 09:23
iamAbhi-916 added a commit to iamAbhi-916/react-native-windows that referenced this pull request Dec 5, 2025
* solve modal foreground/background issue and only have a closebutton on title bar with no icon

* Change files
iamAbhi-916 added a commit to iamAbhi-916/react-native-windows that referenced this pull request Dec 5, 2025
* solve modal foreground/background issue and only have a closebutton on title bar with no icon

* Change files
iamAbhi-916 added a commit to iamAbhi-916/react-native-windows that referenced this pull request Dec 5, 2025
* solve modal foreground/background issue and only have a closebutton on title bar with no icon

* Change files
microsoft-github-policy-service bot pushed a commit that referenced this pull request Dec 5, 2025
* solve modal foreground/background issue and only have a closebutton on title bar with no icon

* Change files
microsoft-github-policy-service bot pushed a commit that referenced this pull request Dec 5, 2025
* solve modal foreground/background issue and only have a closebutton on title bar with no icon

* Change files
microsoft-github-policy-service bot pushed a commit that referenced this pull request Dec 5, 2025
* solve modal foreground/background issue and only have a closebutton on title bar with no icon

* Change files
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.

3 participants