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.
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.