Yes. I think that’s it.

Postponing layout on any non-visible element is something we probably want to 
do.

> On Aug 5, 2017, at 9:50 PM, yishayw <yishayj...@hotmail.com> wrote:
> 
> You might be referring to what we did with Accordion. There, I added
> AccordionItemRendererView which does the following:
> 
>              override protected function performLayout(event:Event):void
> +               {
> +                       var collapsibleStrand:ICollapsible = _strand as
> ICollapsible;
> +                       if (!collapsibleStrand.collapsed)
> +                       {
> +                               super.performLayout(event);
> +                       } else // skip layout for viewport children
> +                       {
> +                               layoutViewBeforeContentLayout();
> +                               layoutViewAfterContentLayout();
> +                       }
> +               }
> :
> 
> 
> 
> --
> View this message in context: 
> http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Bead-dilemma-tp63681p63698.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.

Reply via email to