-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Bugs when page height changes #569
Comments
hi bro ,who can help me |
Hello, I have the same problem 😥 |
same problem here #565 |
However, it does not solve my problem |
I need to recalculate the height when triggered, but it doesn't take effect |
I found the function ScrollReveal().delegate(); which I use instead of ScrollReveal().sync(); and it now works for me, as if it recalculates the size |
@GeistFighter Let me try, bro. |
@GeistFighter Bro, it's very nice!!! |
I have found that when the height of a webpage changes, the location of the trigger will change, and even using sync() can cause bugs
This is a normal situation:
bug.mp4
This is the effect of using
ScrollReveal().sync()
bug-sync.mp4
I don't know what's wrong. I trigger
ScrollReveal().sync()
when I click collapse panel, but it seems that something's wrong with itEnvironment
The text was updated successfully, but these errors were encountered: