1 Reply Latest reply on Jun 21, 2009 9:32 PM by Flex harUI

    IE pageload TextArea.textHeight problem.


      I am pulling html into a TextArea and I want it to resize the TextArea on the fly depending on the size of the html.


      On the TextArea I have a




      This calls..





      function resize(field:TextArea) :void{

           field.height = field.textHeight + 20;



      The problem is that when I load the page (in IE) from scratch it reports the textHeight as being larger than it really is, but every update to that textArea from then on reports the correct height. This does not happen in FireFox or Safari. Does anyone have any idea why this might be happening?