That's a bug in Flex. Please file a bug if there isn't already one.
A workaround would be to not remove the popup until after a mouseUp
Thank you! The workaround solved the problem!
i'm facing the same problem and as i discovered it is a known bug (http://bugs.adobe.com/jira/browse/SDK-26273).
Would you mind describing me the exact way to implement the workaround you are talking about?
Thanks very much!
I just ran into this bug as well. Very frustrating...
I get this error message when I'm trying to close my popup using the 'X' button in the top-right corner. In my root tag (TitleWindow), I assign the following method to the close event property of the window:
private function onClose() : void
While the workaround helped the other user based on his use case, it doesn't apply to mine. Is there a workaround you can suggest for me?