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

Animation reversing has an issue with offsets #33

Closed
stevenalanstark opened this issue Apr 3, 2013 · 1 comment
Closed

Animation reversing has an issue with offsets #33

stevenalanstark opened this issue Apr 3, 2013 · 1 comment

Comments

@stevenalanstark
Copy link

Hello,

If I set an animation to trigger with an offset of -200 ( 200px before scrolling to the element ), when scrolling up it still triggers at -200px instead of at +200px.

expected use case:

user scrolls down to make an element visible. Start the transition 200px before scrolling to the item. at 0px, the element is 100% visible. 200px past, the element is invisible. When scrolling back up, 200px before the element should start to transition in, ad 0 should be fully visible, at -200px be invisible again.

If this is how it currently should work, that would still be useful information for troubleshooting. I am looking to confirm if this is an issue with superscrollorama or my implementation.

@stevenalanstark
Copy link
Author

I think this issue can be ignored, mostly caused by having multiple tweens on the same target.

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

No branches or pull requests

2 participants