Skip to content
This repository has been archived by the owner on Sep 10, 2022. It is now read-only.

Stop animation on detached #18

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

rbjarnason
Copy link
Contributor

Otherwise the animation callbacks will get top level elements into endless attached/detached loops.

@rbjarnason
Copy link
Contributor Author

Actually, this is still not enough to stop streetview pano events from spawning and destroying parent elements. I'm looking into this further.

streeviewmisbehavingmore

@rbjarnason
Copy link
Contributor Author

Here is a screenshot showing what happens in the dom when the browser tab is active and this element creates and destroys yp-group in an endless loop.

browsertabwithfocus

@rbjarnason
Copy link
Contributor Author

Good news! I was having some bower issues and was actually not running this latest code. This PR does fully resolve the problem so it should be good to go.

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