     {
         super.measure();
                  
+        // ScrollerLayout.measure() has heuristics for figuring out whether to
+        // use the actual content size or the preferred size when there are
+        // automatic scroll bars.  Force it to use the preferredSizes until
+        // the content sizes have been updated to accurate values.  This
+        // comes into play when remeasuring to reduce either the width/height.
+        _contentWidth = 0;
+        _contentHeight = 0;
+               
         // percentWidth and/or percentHeight will come back in as constraints
         // on the remeasure if we're autoSizing.
                           

        
        if (event.keyCode == Keyboard.ENTER)
        {
            if (multiline)
            {
                // This is the same code that is in the EditManager for handling
                // the enter key.
                getEditManager().splitParagraph();
                releaseEditManager();
                event.preventDefault();
                //event.stopImmediatePropagation();
            }
            else
            {
                dispatchEvent(new FlexEvent(FlexEvent.ENTER));
            }
         }

    /**
     *  @private
     *  RichEditableTextContainerManager overrides focusInHandler and calls
     *  this before executing its own focusInHandler.
     * 
     *  NOTE: In some cases TCM calls the focusInHandler twice during one
     *  focusIn event.  Ensure that this code works correctly if it is
