Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Create boundCompleteFn once per transition #57

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Create boundCompleteFn once per transition #57

wants to merge 1 commit into from

Conversation

vshab
Copy link

@vshab vshab commented Mar 29, 2015

Changing "selected" propery while transition is going leads to "boundCompleteFn" recreation which cause previous "boundCompleteFn" listen to transitionend forever. That could lead to many "complete" calls and "core-transitionend" event spamming.
Moving "boundCompleteFn" creation in "setup" solves the problem.

@googlebot
Copy link

Thanks for your pull request.

It looks like this may be your first contribution to a Google open source project, in which case you'll need to sign a Contributor License Agreement (CLA) at https://cla.developers.google.com/.

If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Check the information on your CLA or see this help article on setting the email on your git commits.

Once you've done that, please reply here to let us know. If you signed the CLA as a corporation, please let us know the company's name.

@vshab
Copy link
Author

vshab commented Mar 29, 2015

CLA is signed just now.

@googlebot
Copy link

CLAs look good, thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants