diff --git a/src/components/Attachments/AttachmentCarousel/index.tsx b/src/components/Attachments/AttachmentCarousel/index.tsx index 2f94667d9c18..b578da242d88 100644 --- a/src/components/Attachments/AttachmentCarousel/index.tsx +++ b/src/components/Attachments/AttachmentCarousel/index.tsx @@ -262,7 +262,7 @@ function AttachmentCarousel({report, source, onNavigate, setDownloadButtonVisibi }) // eslint-disable-next-line react-compiler/react-compiler .withRef(pagerRef as MutableRefObject), - [attachments.length, canUseTouchScreen, cellWidth, page, isScrollEnabled, scrollRef], + [attachments.length, canUseTouchScreen, cellWidth, page, isScrollEnabled, scrollRef, isPagerScrolling], ); return (