react-scrollama icon indicating copy to clipboard operation
react-scrollama copied to clipboard

preserve step triggering order if they fire out of sync

Open squirrelsquirrel78 opened this issue 7 years ago • 1 comments

squirrelsquirrel78 avatar Aug 09 '18 04:08 squirrelsquirrel78

I am currently struggling with this issue. In my implementation, step enter / exit events are periodically triggering out of order (for reasons that are unclear to me). Instead of:

step 1 enter -> step 1 exit -> step 2 enter -> step 2 exit

I sometimes get:

step 1 enter -> step 2 enter -> step 1 exit -> step 2 exit

Or similar. For my use case I need the steps to trigger in the "expected" order. Do you have any suggestions on how to work around this issue?

mdanzige avatar Sep 06 '24 15:09 mdanzige