itpresidents / thesis-archive-2020

10 stars 1 forks source link

header expands faster than before, #82

Closed EonYang closed 4 years ago

EonYang commented 4 years ago

I did some tests and found out that there's a significant framerate drop when DraggableCards mounts.

So if the animation is playing while DraggableCards mounts, it's noticeablly choppy.

This is a workaround. The expanding animation finishes before the cards mount, then the framerate drop it's not very obvious.

Moreover, it draws users` attention before cards mount, so the waiting becomes less annoying.