Skip to content

Commit

Permalink
fix inifinite scrolling animation by putting back the duped container
Browse files Browse the repository at this point in the history
  • Loading branch information
danilo-leal authored and oliviertassinari committed Sep 16, 2023
1 parent 0bb776a commit 5c1281b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/src/components/about/AboutHero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,12 @@ function PhotoGallery() {
/>
))}
</ImageContainer>
<ImageContainer aria-hidden="true">
{/* aria-hidden is used here because this element is a copy from the above, meaning we want to hide it from screen readers. */}
{teamPhotos.map((item, index) => (
<Image key={index} src={item.img} alt={item.title} loading="lazy" />
))}
</ImageContainer>
</Box>
);
}
Expand Down

0 comments on commit 5c1281b

Please sign in to comment.