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

Create boundCompleteFn once per transition#57

Open
vshab wants to merge 1 commit into
googlearchive:masterfrom
vshab:fix-event-spam
Open

Create boundCompleteFn once per transition#57
vshab wants to merge 1 commit into
googlearchive:masterfrom
vshab:fix-event-spam

Conversation

@vshab

@vshab vshab commented Mar 29, 2015

Copy link
Copy Markdown

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
Copy Markdown

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

vshab commented Mar 29, 2015

Copy link
Copy Markdown
Author

CLA is signed just now.

@googlebot

Copy link
Copy Markdown

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