diff --git a/change/react-native-windows-c68eabbe-3264-4571-b4cf-eca9997af765.json b/change/react-native-windows-c68eabbe-3264-4571-b4cf-eca9997af765.json new file mode 100644 index 00000000000..cc88ec632cf --- /dev/null +++ b/change/react-native-windows-c68eabbe-3264-4571-b4cf-eca9997af765.json @@ -0,0 +1,7 @@ +{ + "type": "prerelease", + "comment": "Fix build from merge conflict", + "packageName": "react-native-windows", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch" +} diff --git a/vnext/Microsoft.ReactNative/Fabric/Composition/ScrollViewComponentView.cpp b/vnext/Microsoft.ReactNative/Fabric/Composition/ScrollViewComponentView.cpp index b90023f0355..9c5d51e04ef 100644 --- a/vnext/Microsoft.ReactNative/Fabric/Composition/ScrollViewComponentView.cpp +++ b/vnext/Microsoft.ReactNative/Fabric/Composition/ScrollViewComponentView.cpp @@ -293,7 +293,7 @@ void ScrollViewComponentView::handleCommand(std::string const &commandName, foll auto x = arg[0].asDouble(); auto y = arg[1].asDouble(); auto animate = arg[2].asBool(); - m_visual.TryUpdatePosition({static_cast(x), static_cast(y), 0.0f}, animate); + m_scrollVisual.TryUpdatePosition({static_cast(x), static_cast(y), 0.0f}, animate); } else if (commandName == "flashScrollIndicators") { // No-op for now } else if (commandName == "scrollToEnd") {