diff --git a/vnext/Microsoft.ReactNative/Fabric/Composition/ScrollViewComponentView.cpp b/vnext/Microsoft.ReactNative/Fabric/Composition/ScrollViewComponentView.cpp index 41946935277..db84cf6d2eb 100644 --- a/vnext/Microsoft.ReactNative/Fabric/Composition/ScrollViewComponentView.cpp +++ b/vnext/Microsoft.ReactNative/Fabric/Composition/ScrollViewComponentView.cpp @@ -1056,14 +1056,14 @@ bool ScrollViewComponentView::scrollToStart(bool animate) noexcept { bool ScrollViewComponentView::pageUp(bool animate) noexcept { if (std::static_pointer_cast(viewProps())->horizontal) { - return scrollLeft(m_layoutMetrics.frame.size.height * m_layoutMetrics.pointScaleFactor, animate); + return scrollLeft(m_layoutMetrics.frame.size.width * m_layoutMetrics.pointScaleFactor, animate); } return scrollUp(m_layoutMetrics.frame.size.height * m_layoutMetrics.pointScaleFactor, animate); } bool ScrollViewComponentView::pageDown(bool animate) noexcept { if (std::static_pointer_cast(viewProps())->horizontal) { - return scrollRight(m_layoutMetrics.frame.size.height * m_layoutMetrics.pointScaleFactor, animate); + return scrollRight(m_layoutMetrics.frame.size.width * m_layoutMetrics.pointScaleFactor, animate); } return scrollDown(m_layoutMetrics.frame.size.height * m_layoutMetrics.pointScaleFactor, animate); }