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