Closed lovetingyuan closed 5 years ago
Sorry, my fault, onconnected should be attached to root element.
Sorry, my fault, onconnected should be attached to root element.
@lovetingyuan to be honest, that shouldn't matter at all, and since yesterday I've released a version that should never see double notifications, I wonder if you can reproduce the error in there with latest.
I used v2.16.7, but still, onconnected will be called twice on IE < 11(IE11 works well). I guess it is caused by some browser compatibility problems. By the way, I used the umd version directly.
Thanks for your response!
It'd be awesome if you could verify v2.16.8
does not trigger twice on IE < 11, 'cause I've updated and counter-patched non MutationObserver capable browsers.
Thank You!
Awesome! I have tried v2.16.8
, it works well. Now onconnected
only be triggered once on IE 9 and 10.
Thanks for your work!