You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Yishay Weiss (JIRA)" <ji...@apache.org> on 2017/02/12 11:19:41 UTC

[jira] [Created] (FLEX-35263) [FlexJS] Layout Does Not Reset ContentView Width After Elements Removed (HTML only)

Yishay Weiss created FLEX-35263:
-----------------------------------

             Summary: [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)