             
             // Make sure viewPort and enabled state are recalculated
             invalidateViewPortFlag = true;
+            ancestorsVisibleInvalidateFlag = true;
             invalidateProperties();
         }
     }

    {
        // Any change in ancestor geometry may affect the StageText's geometry.
        invalidateViewPortFlag = true;
        invalidateProperties();
    }
    

import spark.components.Application;
import spark.core.IEditableText;
import spark.core.ISoftKeyboardHintClient;
import spark.events.PopUpEvent;
import spark.events.TextOperationEvent;

use namespace mx_internal;
