Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it possible to override isInteraction #291

Merged
merged 3 commits into from
Oct 23, 2019
Merged

Conversation

joel-bitar
Copy link
Contributor

This pull request makes it possible to override isInteraction for the animation. As it is today non-looping (iterationCount <= 1) animatinos will always set isInteraction to true and looping animations will set it to false.

With this pull request that behaviour can be overriden by defining isInteraction as a prop on the component.

I needed this for a long running animation that shouldn't block interaction mananger. I also saw that someone else asked for the same feature a while ago (#241).

@oblador
Copy link
Owner

oblador commented Oct 18, 2019

Thanks! Mind adding it to thr readme too?

@joel-bitar
Copy link
Contributor Author

Sure thing. Also fixed lint errors for real!

@oblador oblador merged commit 65fc5c0 into oblador:master Oct 23, 2019
@bigggge
Copy link

bigggge commented Oct 30, 2019

When will it be published to npm?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants