Studio Gusto
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by Studio Gusto
-
-
Hi, i tried to use, Gsap Flip to filter a grid of elements.
The filter is inserted in the page in a fixed position so I can filter the grid from any position of the scroll.
The strange thing that happens is that if I filter the grid with the scroll positioned at the bottom of it, the page will be scrolled up.
I also tried to give a fixed height to the grid container, to avoid the bug, but the same thing happens.
Is it a problem with Flip or am I using it wrong?
https://codesandbox.io/s/shy-fire-3j0xc5
Page scroll up after Gsap Flip Animation
in GSAP
Posted
You're right, without Flip the same thing happens, the problem is related to the re-rendering of all elements caused by React