-
-
Notifications
You must be signed in to change notification settings - Fork 69
Open
Description
Describe the bug
When set to not loop and play the animation once in a block, the expectation I have is that upon entering the block the animation will play once and then not repeat. Instead, the result is that the animation plays once and then replays again on each incremental interaction.
To Reproduce
Steps to reproduce the behavior:
- Set up an animation with the props:
loop={false}
interactivity={{
mode: "scroll",
actions: [
{ visibility: [0, 0.3], type: "stop", frames: [0] },
{ visibility: [0.3, 1.0], type: "play", frames: [0, 38] }
]
}}- Scroll until 30% visible and observe one playthrough
- Scroll until 31% visible and observe a second playthrough
Expected behavior
The expectation would be that the playthrough would happen once while the user was in section 30%-100% and then not play again.
Desktop (please complete the following information):
- OS: Mac
- Browser: Chrome
- Version: 105 (Latest)
Metadata
Metadata
Assignees
Labels
No labels