Quantcast
Channel: Viewport / Waypoint actions in Tumult Hype: Starting an animation when scrolling to an element
Viewing all articles
Browse latest Browse all 76

Viewport / Waypoint actions in Tumult Hype: Starting an animation when an element is visible

$
0
0

@jonathan wrote:

Viewport [as it presently works] is defined as the region of the window that is in view. Thus it does not take into account groups/overflow. I would like to better support this.

Your example does fundamentally work, but you need to do two things to see it in action:
1. Remove the pause timeline action on the Grow Box Timeline (as the timeline is triggered via the viewport action). I suspect you added this pause timeline action because it was always being triggered immediately; this is from the fact that while not visible, the "scaled object" was in fact in the viewport as per the above definition.
2. Reduce the window size to be 400px high, thus the scaled object element starts outside of the viewport

Read full topic


Viewing all articles
Browse latest Browse all 76

Trending Articles