[ 
https://issues.apache.org/jira/browse/FLEX-35263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15874169#comment-15874169
 ] 

Alex Harui commented on FLEX-35263:
-----------------------------------

Sure, but do we know how to determine a better time to call?  Binding, user 
code, and image and other asynchronously loaded content can delay when children 
are being added but some sort of layout should run without waiting.

> [FlexJS] Layout Does Not Reset ContentView Width After Elements Removed (HTML 
> only)
> -----------------------------------------------------------------------------------
>
>                 Key: FLEX-35263
>                 URL: https://issues.apache.org/jira/browse/FLEX-35263
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: FlexJS
>    Affects Versions: Apache FlexJS 0.8.0
>            Reporter: Yishay Weiss
>
> In this app:
> https://paste.apache.org/EiP5
> Aftrer clicking 'Remove' you still see scrollbars on mainGuy.
> The problem is fixed if in BaicLayout we replace
>                 if (!hasWidth && n > 0 && !isNaN(maxWidth)) {
> with
>                 if (!hasWidth && !isNaN(maxWidth)) {
> But I'm not sure that doesn't break anything.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to