Skip to content
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

fix: fix redundant event dispatch #599

Merged
merged 1 commit into from
Jul 1, 2019
Merged

Conversation

pskelin
Copy link
Contributor

@pskelin pskelin commented Jul 1, 2019

Including multiple instances of the webcomponents on the same page
causes the global event handlers to be registered multiple times
This then causes multiple calls of the event handlers on the prototype
and multiple semantic events being fired.

Including  multiple instances of the webcomponents on the same page
causes the global event handlers to be registered multiple times
This then casues multiple calls of the event handlers on the prototype
and multiple semantic events being fired.
@pskelin pskelin requested review from vladitasev and MapTo0 July 1, 2019 07:17
@pskelin pskelin merged commit dc0cda2 into master Jul 1, 2019
@pskelin pskelin deleted the event-handler-singleton branch July 1, 2019 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants