amberjs/amber.js — Issue #235: Recent willInsertElement change broke notification to children
Author: ef4
Created: 2011-12-09 15:41:41+00:00
State: open

Since commit 093b0c56673a2e142b5067144c1058c99608df44, child views that get rendered in-buffer don't fire willInsertElement.

Demonstration of the problem: http://jsfiddle.net/wmeLv/

The children get created during `view.createElement()`. So if we call `_notifyWillInsertElement` before that point, the children never get the message.

I would suggest reverting the change while keeping the associated warnings.