A part of the animation (section-colored) doens't animate properly after switching from landscape mode to portrait mode.
I tried to kill it and restart it after an orientation change has been detected and even tried adding a delay so that the viewport heights can get recalculated again (i thought that might be the issue).
Animation doesn't recalculate properly after orientation change (mobile/ipad)
in GSAP
Posted
A part of the animation (section-colored) doens't animate properly after switching from landscape mode to portrait mode.
I tried to kill it and restart it after an orientation change has been detected and even tried adding a delay so that the viewport heights can get recalculated again (i thought that might be the issue).
See the Pen mdPbmBy by kimberlygessner (@kimberlygessner) on CodePen