From acff47a7cdc3e46049436d6b1f95b8c1fb01a521 Mon Sep 17 00:00:00 2001 From: Abhijeet Jha <74712637+iamAbhi-916@users.noreply.github.com> Date: Fri, 5 Dec 2025 09:47:59 +0530 Subject: [PATCH 1/2] solve modal foreground/background issue and only have a closebutton on title bar with no icon --- .../WindowsModalHostViewComponentView.cpp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/vnext/Microsoft.ReactNative/Fabric/Composition/Modal/WindowsModalHostViewComponentView.cpp b/vnext/Microsoft.ReactNative/Fabric/Composition/Modal/WindowsModalHostViewComponentView.cpp index 968d070aeb6..82320c8bd2e 100644 --- a/vnext/Microsoft.ReactNative/Fabric/Composition/Modal/WindowsModalHostViewComponentView.cpp +++ b/vnext/Microsoft.ReactNative/Fabric/Composition/Modal/WindowsModalHostViewComponentView.cpp @@ -66,6 +66,12 @@ struct ModalHostView : public winrt::implementstitle.has_value()) { winrt::hstring titleValue = winrt::to_hstring(m_localProps->title.value()); From 71d8f12061b1b1c7c26936f4d57b0bbee72ad432 Mon Sep 17 00:00:00 2001 From: Abhijeet Jha <74712637+iamAbhi-916@users.noreply.github.com> Date: Fri, 5 Dec 2025 09:48:50 +0530 Subject: [PATCH 2/2] Change files --- ...ative-windows-b90b1242-253d-40d8-af6d-4722b31c1677.json | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 change/react-native-windows-b90b1242-253d-40d8-af6d-4722b31c1677.json diff --git a/change/react-native-windows-b90b1242-253d-40d8-af6d-4722b31c1677.json b/change/react-native-windows-b90b1242-253d-40d8-af6d-4722b31c1677.json new file mode 100644 index 00000000000..34147234531 --- /dev/null +++ b/change/react-native-windows-b90b1242-253d-40d8-af6d-4722b31c1677.json @@ -0,0 +1,7 @@ +{ + "type": "prerelease", + "comment": "solve modal foreground/background issue and only have a closebutton on title bar with no icon", + "packageName": "react-native-windows", + "email": "74712637+iamAbhi-916@users.noreply.github.com", + "dependentChangeType": "patch" +}