-
-
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
Repeated elements may retain old event handlers #34
Comments
@RubaXa Confirmed! Great catch, I will have a fix in for this tonight. There is a Thanks for giving me a simple way to reproduce it! |
@RubaXa This fix has landed in the 3.0 beta branch. Please test via |
👌 |
Thanks for your demo fiddle, that helped immensely. Here's the same code running on preact 3.0 ( |
If depending on conditions the element is replaced by another and
oldTag.name === newTag.name
, then old events saved.Bug example: http://jsfiddle.net/zrmu855c/1/
The text was updated successfully, but these errors were encountered: