Skip to content

fix useStaggerScroll flexibility #74

@oEnzoRibas

Description

@oEnzoRibas

useStaggerScroll hardcodes its ScrollTrigger options (start, toggleActions) and doesn’t allow callers to override them, unlike useScrollTrigger/useScrollTimeline which accept scrollVars. Consider adding an optional scrollVars?: Partial<ScrollTrigger.Vars> parameter and spreading it into the ScrollTrigger config for consistency and flexibility.

Originally posted by @Copilot in #73

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions