Open kannafay opened 5 months ago
hi bro ,who can help me
Hello, I have the same problem 😥 Have you found a solution ?
same problem here #565
same problem here #565
However, it does not solve my problem
same problem here #565
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
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:
https://github.com/jlmakes/scrollreveal/assets/85301126/2bc03cc9-a4cd-4a35-a806-73fe68c4aee3
This is the effect of using
ScrollReveal().sync()
https://github.com/jlmakes/scrollreveal/assets/85301126/be7983f7-833a-437f-ac20-1846ffd9fc49
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