StudioCompanion / climate-agency

climate-agency.vercel.app
0 stars 0 forks source link

fix: manually duplicate items #133

Closed joshuaellis closed 2 years ago

joshuaellis commented 2 years ago

Why

What

Unfortunately this is a known issue with react-fast-marquee, because it only clones the children once which at size A is fine but when it grows to be larger than the two sets combined at size B the marquee fails. To resolve the issue we're going to manually duplicate the items once so in theory, there are 4x the items in the component.

Checklist

vercel[bot] commented 2 years ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
climate-agency ✅ Ready (Inspect) Visit Preview Jun 29, 2022 at 0:46AM (UTC)