Skip to content

Any Example for onEnter trigger hook and pinning? #21

Open

Description

@rtm619

Hi team,

We have an animation where we want to start the animation when the Scene comes into the viewport (onEnter triggerHook). And once the whole scene has covered the viewport fully (i.e top is 0, we want to pin it with position fixed). Currently if we use onEnter triggerHook and pin the Scene, the child div of the Scene gets a top of the viewport height as soon as the animation starts, thus we are unable to see the animation.

If you guys have any examples related to this scenario, please attach the demo in this issue.

Thanks in advance,
Reetam

Activity

  1. bitworking commented on Feb 27, 2020

    @bitworking
    Owner

    I don't fully understand the problem. Can you provide a minimal example in https://stackblitz.com/?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions