learndot/sproutcore-wysiwyg — pull request #21 by dcporter (2013-07-02 21:34:53+00:00)
Title: Fixes bug where editor would fail to update height when offscreen.

Bug caused by layer measurements always returning 0 when layer is detached from DOM.

Fix: if scheduleHeightUpdate is called while isVisibleInWindow is false, this update sets up an observer and triggers the update when isVisibleInWindow becomes true again.