Multiple pins and event firing order. #134

Closed
SgtPooki opened this Issue Jan 22, 2014 · 2 comments

Comments

Projects
None yet
2 participants

Superscrollorama is not correctly firing events if you have multiple pinned elements.

For example, I have the usual vertically scrolled parallax website for which I have 3 "scenes":

  1. The first scene does not pin, the second and third do.
  2. Everything works fine if I scroll slowly (with wheel or arrow keys), but if I use pageDown, it does not work properly.

The issue that I see is that when scrolling forward/backwards that two of the relevant eventHandling functions will be fired, like onPin for scene2, then onPin for scene3. Except that an onUnpin for scene2 was never fired (it ends up getting fired later which is kind of useless at that point).

@janpaepke janpaepke self-assigned this Feb 3, 2014

Collaborator

janpaepke commented Feb 3, 2014

Hi Sgt. I will have a look into that.

Is it possible for you to create a demo page for me that i can use for debugging this issue?

regards,
Jan

Collaborator

janpaepke commented Feb 28, 2014

Hi Sgt,

I'm closing all bug issues for Superscrollorama because it has been superceeded by ScrollMagic.
https://github.com/janpaepke/ScrollMagic

Please check if updating helps fix your problem.
If not, please post a new issue in the ScrollMagic issue section.

best regards,
Jan

@janpaepke janpaepke closed this Feb 28, 2014

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