Skip to content
This repository was archived by the owner on Nov 27, 2018. It is now read-only.

DOM Mutation Events are a problem #274

Closed
avoidwork opened this issue Apr 15, 2013 · 0 comments · Fixed by #275
Closed

DOM Mutation Events are a problem #274

avoidwork opened this issue Apr 15, 2013 · 0 comments · Fixed by #275
Assignees

Comments

@avoidwork
Copy link
Owner

This is not the ideal way to 'unhook' a potentially destroyed Element from the Observer; 3.6.11 is a stop gap to something better, but that something better needs to be finalized & implemented.

The root problem is a copy/paste into an input field triggers an 'input' event, which cascades to a DOMNodeRemoved event, which is factual, but also misleading. Delaying the 'unhook' from the Observer could lead to a false-positive case where something is actually destroyed and re-created with the same ID intentionally, leaving the new Element without the Observer hook.

@ghost ghost assigned avoidwork Apr 15, 2013
@avoidwork avoidwork mentioned this issue Apr 16, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant