[
https://issues.apache.org/jira/browse/FLEX-34088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13903801#comment-13903801
]
Justin Mclean edited comment on FLEX-34088 at 2/18/14 5:37 AM:
---------------------------------------------------------------
Here's working code showing the issue:
{code}
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx">
<s:CalloutButton id="button_layout" width="30" height="30" >
<s:VGroup>
<s:DropDownList dataProvider="{new
ArrayList([1,2,3,4,5])}" />
<s:DropDownList dataProvider="{new
ArrayList(['A','B','C','D'])}" />
<s:Button />
<s:Button />
</s:VGroup>
</s:CalloutButton>
</s:Application>
{code}
Issue is because a drop down list is dispatching a "close" event, which is
have the same type text as a callout code event.
While perhaps an easy fix is to change the the callout type to be something
else e.g. "CalloutClose" but not sure we can change without breaking user's
code.
was (Author: jmclean):
Here's working code showing the issue:
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx">
<s:CalloutButton id="button_layout" width="30" height="30" >
<s:VGroup>
<s:DropDownList dataProvider="{new
ArrayList([1,2,3,4,5])}" />
<s:DropDownList dataProvider="{new
ArrayList(['A','B','C','D'])}" />
<s:Button />
<s:Button />
</s:VGroup>
</s:CalloutButton>
</s:Application>
Issue is because a drop down list is dispatching a "close" event, which is
have the same type text as a callout code event.
While perhaps an easy fix is to change the the callout type to be something
else e.g. "CalloutClose" but not sure we can change without breaking user's
code.
> CalloutButton with Dropdown
> ---------------------------
>
> Key: FLEX-34088
> URL: https://issues.apache.org/jira/browse/FLEX-34088
> Project: Apache Flex
> Issue Type: Bug
> Components: Spark: CalloutButton
> Affects Versions: Apache Flex 4.11.0
> Environment: windows7, flashbuilder 4.7
> Reporter: Fabiano Citrone
>
> after select an item in the first dropdown, the calloutbutton closes not
> allowing me to enter the second
> <s:CalloutButton id="button_layout" width="30" height="30" >
> <s:VGroup>
> <s:Dropdown.....
> <s:Dropdown.....
> </s:VGroup>
> </s:CalloutButton>
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)