Skip to content

avoid accumulating copies of event handlers when reattaching#15

Open
leofidus wants to merge 1 commit intoMarshallOfSound:masterfrom
leofidus:master
Open

avoid accumulating copies of event handlers when reattaching#15
leofidus wants to merge 1 commit intoMarshallOfSound:masterfrom
leofidus:master

Conversation

@leofidus
Copy link
Copy Markdown

@leofidus leofidus commented May 9, 2018

I ran into the same issue as #3 (did-attach firing again after setting a surrounding container display:none, then display: block). The simplest fix seemed to be to just not add the events again if we did it once before. All this commit does is add the if statement to accomplish that.

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.

1 participant