You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Justin Mclean (JIRA)" <ji...@apache.org> on 2014/10/12 02:18:33 UTC

[jira] [Updated] (FLEX-33991) PopUpAnchor caches initial popup size with no way to reset

     [ https://issues.apache.org/jira/browse/FLEX-33991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Mclean updated FLEX-33991:
---------------------------------
    Description: 
addOrRemovePopUp contains this code:

            if (popUp is UIComponent && !popUpSizeCaptured)
            {
                popUpWidth = UIComponent(popUp).explicitWidth;
                popUpHeight = UIComponent(popUp).explicitHeight;
                UIComponent(popUp).validateNow();
                popUpSizeCaptured = true;
            }

popUpSizeCaptured is never set to false even if popUp is changed.

All methods and properties are private so can't be easily fixed.

  was:
addOrRemovePopUp cantinas this code:

            if (popUp is UIComponent && !popUpSizeCaptured)
            {
                popUpWidth = UIComponent(popUp).explicitWidth;
                popUpHeight = UIComponent(popUp).explicitHeight;
                UIComponent(popUp).validateNow();
                popUpSizeCaptured = true;
            }

popUpSizeCaptured is never set to false even if popUp is changed.

All methods and properties are private so can't be easily fixed.


> PopUpAnchor caches initial popup size with no way to reset
> ----------------------------------------------------------
>
>                 Key: FLEX-33991
>                 URL: https://issues.apache.org/jira/browse/FLEX-33991
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Spark: PopUpAnchor
>    Affects Versions: Apache Flex 4.11.0
>            Reporter: Justin Mclean
>            Priority: Minor
>
> addOrRemovePopUp contains this code:
>             if (popUp is UIComponent && !popUpSizeCaptured)
>             {
>                 popUpWidth = UIComponent(popUp).explicitWidth;
>                 popUpHeight = UIComponent(popUp).explicitHeight;
>                 UIComponent(popUp).validateNow();
>                 popUpSizeCaptured = true;
>             }
> popUpSizeCaptured is never set to false even if popUp is changed.
> All methods and properties are private so can't be easily fixed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)