Skip to content
This repository was archived by the owner on May 14, 2024. It is now read-only.

Conversation

@janroesner
Copy link

In case appear() is called on multiple DOM elements, $prior_appeared did not remember the prior appeared elements for ALL selectors. Thus $disappeared was calculated incorrectly which caused weird behaviour. Fixed by simply pushing prior appeared elements into $prior_appeared, instead resetting $prior_appeared for every selector / jquery element.

…lculation.

The reason was, that $prior_appeared did not persist correctly on case appear() was called on more that one selector. Simply fixed by making $prior_appeared's to persist by pushing them instead of setting them.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant