-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Polymer events creates a new bound handler for every listen
call
#2534
Comments
This bugfix |
This is a bug in |
dfreedm
added a commit
that referenced
this issue
Oct 6, 2015
Actually use event listener cache correctly Fixes #2534 Polymer Gestures creates a new bound handler for every `listen` call
cdata
changed the title
Polymer Gestures creates a new bound handler for every
Polymer events creates a new bound handler for every Oct 6, 2015
listen
calllisten
call
Amended the title. |
We merged a temporary patch to |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As discussed in person, this could be made slightly more optimal by looking to see if a listener has been created already.
Fixing this would allow
listen
to be called n times with the same arguments, while ensuring that only one listener is ever actually added.The text was updated successfully, but these errors were encountered: