I\'ve been having an issue with Ember.js throwing the error:
Uncaught Error: Cannot perform operations on a Metamorph that is not in the DOM.
I
The problem is simple, but tracking the actual cause is hard. For items that we track using metamorph, it wraps beteween a script element with an id of metamorph-##-start
and id metamorph-##-end
. Under normal circumstances, Ember shouldn't remove them unless they're no longer needed. There're a couple of reasons why this could be removed: