You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2020/03/03 19:57:10 UTC

[GitHub] [royale-asjs] aharui removed a comment on issue #746: TypeError: Cannot read property 'text' of null

aharui removed a comment on issue #746: TypeError: Cannot read property 'text' of null
URL: https://github.com/apache/royale-asjs/issues/746#issuecomment-594135368
 
 
   Not sure what changed, but in the MaskedTextInput's text setter the call to updateDisplayList can  access the embedTextField which hasn't been created yet.  You can try checking if the component is has a parent
   ```
   if (parent)
      updateDisplayList(0,0);
   ```
   
   Or call updateDisplayList in an override of addedToParent() as I've suggested on some other issues.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services