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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

infinite looped animation apparition #530

Open
Cliff-FK opened this issue Nov 21, 2023 · 0 comments
Open

infinite looped animation apparition #530

Cliff-FK opened this issue Nov 21, 2023 · 0 comments

Comments

@Cliff-FK
Copy link

Hello 馃憢
There seems to be a problem with certain scroll levels when you animate elements vertically to make them appear:
https://sharing.clickup.com/clip/p/t20411414/088df0cf-42e4-4c43-9ea1-5a7675b38766/screen-recording-2023-11-21-11%3A32.webm

To Reproduce
DOM element with attrs:
data-scroll data-scroll-repeat data-scroll-class="u-fade-down"

Custom CSS (similar at AOS.js):

[data-scroll-class^=u-fade] {
    transition-timing-function: 400ms;
    transition-duration: cubic-bezier(0.165, 0.84, 0.44, 1);
    transition-property: opacity, transform;
    opacity: 0.005;
}
[data-scroll-class^=u-fade-down] {
    transform: translate3d(0, -6.25rem, 0);
}
[data-scroll-class^=u-fade][class*=u-fade] {
    transform: translateZ(0);
    opacity: 1;
}
  • Windows 11
  • Latest Chrome version

Thank you 馃憡

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

1 participant