flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yishay Weiss (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-35263) [FlexJS] Layout Does Not Reset ContentView Width After Elements Removed (HTML only)
Date Mon, 20 Feb 2017 08:06:44 GMT

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

Yishay Weiss commented on FLEX-35263:
-------------------------------------

Ok, can you explain why it would matter if we set the view width to zero before the image
is loaded, and then reset it again? Are you concerned about layouts jumping around or is it
a performance issue?

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

Mime
View raw message