chenglou / chenglou/react-motion
Change number of staggered elements?
Open
- Dominant language
- JavaScript
- Stars
- 21.9k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
The number of elements created by `` is controlled by the length of the style array passed in to the defaultStyles prop.
Unfortunately, changing the length of this array on a new render doesn't change the number of elements. It seems that this is set on the first render and can't be changed at a later time.
Is this correct or is there a workaround?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.