From 35bea357470e0170f5579981facdc95595b568c4 Mon Sep 17 00:00:00 2001 From: Chiara Mooney <34109996+chiaramooney@users.noreply.github.com> Date: Fri, 12 May 2023 10:50:29 -0700 Subject: [PATCH 1/2] Update Props Function --- .../Fabric/Composition/ScrollViewComponentView.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vnext/Microsoft.ReactNative/Fabric/Composition/ScrollViewComponentView.cpp b/vnext/Microsoft.ReactNative/Fabric/Composition/ScrollViewComponentView.cpp index a073d204f37..a12112b4076 100644 --- a/vnext/Microsoft.ReactNative/Fabric/Composition/ScrollViewComponentView.cpp +++ b/vnext/Microsoft.ReactNative/Fabric/Composition/ScrollViewComponentView.cpp @@ -219,8 +219,7 @@ void ScrollViewComponentView::finalizeUpdates(RNComponentViewUpdateMask updateMa } void ScrollViewComponentView::prepareForRecycle() noexcept {} facebook::react::Props::Shared ScrollViewComponentView::props() noexcept { - assert(false); - return {}; + return static_cast(m_props); } /* From 008123c8a3792f5d536f026c540416fb2137551e Mon Sep 17 00:00:00 2001 From: Chiara Mooney <34109996+chiaramooney@users.noreply.github.com> Date: Fri, 12 May 2023 11:01:30 -0700 Subject: [PATCH 2/2] Change files --- ...ative-windows-1187ae94-06f0-4d36-bb52-87f96b11cdd7.json | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 change/react-native-windows-1187ae94-06f0-4d36-bb52-87f96b11cdd7.json diff --git a/change/react-native-windows-1187ae94-06f0-4d36-bb52-87f96b11cdd7.json b/change/react-native-windows-1187ae94-06f0-4d36-bb52-87f96b11cdd7.json new file mode 100644 index 00000000000..3bf1cd87668 --- /dev/null +++ b/change/react-native-windows-1187ae94-06f0-4d36-bb52-87f96b11cdd7.json @@ -0,0 +1,7 @@ +{ + "type": "prerelease", + "comment": "Update Props Function", + "packageName": "react-native-windows", + "email": "34109996+chiaramooney@users.noreply.github.com", + "dependentChangeType": "patch" +}