Skip to content

Step sometimes not triggered - use with container as parent #136

@boeckMt

Description

@boeckMt

If scrolling down and up multiple times, it happens sometimes that onStepEnter/onStepExit is not triggered.


Setting:

  • Browser: Chromium: 99.0.4844.88
  • scrollama: 3.1.0

I have created a codesandbox

My use case was to change the height of a footer if a step is entered on direction: down and reset the it on exit and direction: up.
Sometimes the event is not fired and the footer remains on the last state. It's hard to debug because it doesn't happen regularly

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions