flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Mclean (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-35054) js:Panel lost background colour in js:State change in HTML output
Date Sun, 19 Mar 2017 01:17:42 GMT

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

Justin Mclean commented on FLEX-35054:

There seem to be a number of issue around visibility, setting sizes and style which this is
probably related to. I've found one way around the issue is to have everything initially visible
and then hide them on applicationComplete. Not ideal but seem to sort issues along these lines.

> js:Panel lost background colour in js:State change in HTML output
> -----------------------------------------------------------------
>                 Key: FLEX-35054
>                 URL: https://issues.apache.org/jira/browse/FLEX-35054
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: FlexJS
>    Affects Versions: Apache FlexJS 0.5.0
>            Reporter: Devsena
>            Assignee: Piotr Zarzycki
>             Fix For: Apache FlexJS 0.8.0
>         Attachments: FlexJSFlexbileChildTest.zip
> SDK: FlexJS 0.5.0
> IDE: Flash Builder, Moonshine
> My test application is consists of several states having one js:View component in each
state. One state have a js:Panel which toggled it's visibility upon user interaction. When
re-visiting the same state during an application cycle, opening js:Panel showing lost it's
background colours. 
> Please, find herewith my attached test project source which describes the problem:
> 1. Run the application in HTML
> 2. The application consists of 3 js:State
> 3. In first state one should see a button labeled "Go Next Section" - this will change
application to state 2
> 4. State 2 have one button labeled "Open Popup Panel"
> 5. Clicking on the above button make an in-page js:Panel visible=true. This also demonstrate
another problem where showing Panel push any existing Container underneath it. Both existing
Container and Panel are child of a Container class. If I understood correctly if no layout
beads explicitly added a Container class works like fx:Group or mx:Canvas class. I wonder
why showing up Panel making it's parent acting as vertical container instead!
> 6. Showing up Panel has two buttons - Close This, Continue. Close This will just toggle
it's visibility where Continue button make it's visibility false and make the application
move to it's next state (State 3)
> 7. State 3 has one button labeled "Go Previous Section" - this will make application
return to State 2 which has the js:Panel
> 8. Click on "Open Popup Panel" once again - background colour should vanish, width became
wrong and interaction not works.
> Please, check.

This message was sent by Atlassian JIRA

View raw message