The test we added is if the popup owns the target.

 

                                                if
(IUIComponent(myPopUp).owns(DisplayObject(evt.target)))

 

 

-Alex

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Troy Gilbert
Sent: Wednesday, August 29, 2007 10:02 AM
To: [email protected]
Subject: [flexcoders] Combobox + PopupManager + mouseDownOutside "bug"

 

Here's the details of the bug:
https://bugs.adobe.com/jira/browse/SDK-9656
<https://bugs.adobe.com/jira/browse/SDK-9656> 

I was running into this issue, googled "combobox mousedownoutside" and
it was the first hit, so "yeah, Google!". Exactly what I was looking
for.

But... its fixed, but I couldn't figure out how to get details on what
the fix is. I assume its to the code of the PopUpManager, so I don't
really want to apply the fix to my local version or anything like
that.

Alex, you did the fix (according to the link above), any suggestions
on the "proper" way to deal with this issue in FB 2.0.1? I'm currently
dealing with it by looking at the event and seeing if the
"relatedObject" property is a UITextField, and if it is, ignoring the
event as it must be a combobox (I fortunately don't have any other UI
elements currently that register as a UITextField when clicking on
them). So, I've got a fix, but I'd love for something less
special-cased...

Thanks,

Troy.

 

Reply via email to