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

Peter Ent resolved FLEX-35250.
------------------------------
       Resolution: Fixed
    Fix Version/s: Apache FlexJS 0.8.0

I am not sure why the display is overridden to be 'block' in all cases. So to 
be safe, I changed the code to test for "none" and leave it otherwise set the 
container to be block display.

> [FlexJS] HContainer visible false not respected (JS only)
> ---------------------------------------------------------
>
>                 Key: FLEX-35250
>                 URL: https://issues.apache.org/jira/browse/FLEX-35250
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: FlexJS
>            Reporter: Yishay Weiss
>            Assignee: Peter Ent
>             Fix For: Apache FlexJS 0.8.0
>
>
> In this app:
> https://paste.apache.org/2gpf
> hContainer.visible = false
> but inspection reveals that style.display is 'block'
> This is due to this code:
>               public function set strand(value:IStrand):void
>               {
>                       host = value as ILayoutChild;
>             COMPILE::JS
>             {
>                 ((value as IUIBase).element as HTMLElement).style.display = 
> 'block';
>             }
>               }
> But I'm not sure why it's necessary.



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

Reply via email to