diff --git a/src/photo/PhotoLink.tsx b/src/photo/PhotoLink.tsx index 27e401a4..bbdf02d3 100644 --- a/src/photo/PhotoLink.tsx +++ b/src/photo/PhotoLink.tsx @@ -15,6 +15,7 @@ export default function PhotoLink({ tag, camera, simulation, + scroll, prefetch, nextPhotoAnimation, className, @@ -24,6 +25,7 @@ export default function PhotoLink({ tag?: string camera?: Camera simulation?: FilmSimulation + scroll?: boolean prefetch?: boolean nextPhotoAnimation?: AnimationConfig className?: string @@ -42,7 +44,7 @@ export default function PhotoLink({ } }} className={className} - scroll={false} + scroll={scroll} > {children ?? titleForPhoto(photo)} diff --git a/src/photo/PhotoLinks.tsx b/src/photo/PhotoLinks.tsx index ad0a04d4..0c369464 100644 --- a/src/photo/PhotoLinks.tsx +++ b/src/photo/PhotoLinks.tsx @@ -86,6 +86,7 @@ export default function PhotoLinks({ tag={tag} camera={camera} simulation={simulation} + scroll={false} prefetch > PREV @@ -96,6 +97,7 @@ export default function PhotoLinks({ tag={tag} camera={camera} simulation={simulation} + scroll={false} prefetch > NEXT