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 2019/09/30 11:15:59 UTC

[GitHub] [royale-asjs] cristallium opened a new issue #486: stateChangeComplete event is fired if set again same state (bug or not) ?

cristallium opened a new issue #486: stateChangeComplete event is fired if set again same state (bug or not) ?
URL: https://github.com/apache/royale-asjs/issues/486
 
 
   Hi,
   
   Suppose you have 2 states : **A** and **B** and currentState is **A**
   Then setting currentState again to **A** will fire _stateChangeComplete_.
   
   I don't know if we can consider this as a bug or not... On Flex component setting twice the same state doesn't fire _stateChangeComplete_
   
   There is a simple workaround : just test the currentState before setting it.
   
   Regards

----------------------------------------------------------------
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