IanLunn / IanLunn/Sequence

Add resetStepWhenSkipped option

Open
#257 0 comments 0 reactions 0 assignees View on GitHub
Feature
Dominant language
JavaScript
Stars
3.3k
Forks
470
PR merge metrics
No merged PRs in 30d

Description

Add a `resetStepWhenSkipped` option so that when the next step is navigated to whilst the current one is still animating, the current step's animations get reset back to their starting position.

This will need to be integrated with the `fadeStepWhenSkipped` option so that the reset occurs after the fade if enabled.

Contributor guide

Open the contributing guide

Research direction

Start by locating the existing fadeStepWhenSkipped option and the code handling navigation to the next step while the current step is animating. Add resetStepWhenSkipped behavior so animations return to their starting position, with the reset occurring after the fade when fading is enabled; verify both option combinations.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.