[ 
https://issues.apache.org/jira/browse/FLEX-34405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Deepak MS updated FLEX-34405:
-----------------------------

    Description: 
I happened to migrate from 4.12 to 4.12.1. Wherever calloutbutton was used, the 
callout contents were shown only on click of calloutbutton. But now in 4.12.1, 
it shows the callout contents as soon as we hover the mouse cursor on top of 
calloutbutton. When I try to select callout content, it just closes the 
callout. 
Issue is CalloutButton shows calloutContents on MouseOver, instead of 
MouseClick and gets closed on MouseOut. And mouse click has no effect.


This was using a mobile project, 4.12.1, on windows 7 simulator, using AIR 4, 
AIR13, AIR14. 

Sample code to try:

<?xml version="1.0" encoding="utf-8"?>
<s:View xmlns:fx="http://ns.adobe.com/mxml/2009"; 
                xmlns:s="library://ns.adobe.com/flex/spark" title="Home" 
xmlns:ns="http://flex.apache.org/experimental/ns";>
        
        <s:layout>
                <s:VerticalLayout verticalAlign="top" horizontalAlign="left"/>
        </s:layout>
        <fx:Declarations>
                
        </fx:Declarations>
        
        
        <s:CalloutButton label="Click">
                <s:calloutContent>
                        <s:List labelField="name">
                                <s:dataProvider>
                                        <s:ArrayCollection>
                                                <fx:Object name="Name 1"/>
                                                <fx:Object name="Name 2"/>
                                                <fx:Object name="Name 3"/>
                                                <fx:Object name="Name 4"/>
                                                <fx:Object name="Name 5"/>
                                        </s:ArrayCollection>
                                </s:dataProvider>
                        </s:List>
                </s:calloutContent>
        </s:CalloutButton>
        
</s:View>

  was:
I happened to migrate from 4.12 to 4.12.1. Wherever calloutbutton was used, the 
callout contents were shown only on click of calloutbutton. But now in 4.12.1, 
it shows the callout contents as soon as we hover the mouse cursor on top of 
calloutbutton. When I try to select callout content, it just closes the 
callout. 
Issue is CalloutButton shows calloutContents on MouseOver, instead of 
MouseClick and gets closed on MouseOut.


This was using a mobile project, 4.12.1, on windows 7 simulator, using AIR 4, 
AIR13, AIR14. 


> CalloutButton shows calloutContents on MouseOver, instead of MouseClick
> -----------------------------------------------------------------------
>
>                 Key: FLEX-34405
>                 URL: https://issues.apache.org/jira/browse/FLEX-34405
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Mobile: Callout / CalloutButton
>    Affects Versions: Apache Flex 4.12.1
>         Environment: Windows 7
>            Reporter: Deepak MS
>              Labels: calloutbutton, mobile
>
> I happened to migrate from 4.12 to 4.12.1. Wherever calloutbutton was used, 
> the callout contents were shown only on click of calloutbutton. But now in 
> 4.12.1, it shows the callout contents as soon as we hover the mouse cursor on 
> top of calloutbutton. When I try to select callout content, it just closes 
> the callout. 
> Issue is CalloutButton shows calloutContents on MouseOver, instead of 
> MouseClick and gets closed on MouseOut. And mouse click has no effect.
> This was using a mobile project, 4.12.1, on windows 7 simulator, using AIR 4, 
> AIR13, AIR14. 
> Sample code to try:
> <?xml version="1.0" encoding="utf-8"?>
> <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"; 
>               xmlns:s="library://ns.adobe.com/flex/spark" title="Home" 
> xmlns:ns="http://flex.apache.org/experimental/ns";>
>       
>       <s:layout>
>               <s:VerticalLayout verticalAlign="top" horizontalAlign="left"/>
>       </s:layout>
>       <fx:Declarations>
>               
>       </fx:Declarations>
>       
>       
>       <s:CalloutButton label="Click">
>               <s:calloutContent>
>                       <s:List labelField="name">
>                               <s:dataProvider>
>                                       <s:ArrayCollection>
>                                               <fx:Object name="Name 1"/>
>                                               <fx:Object name="Name 2"/>
>                                               <fx:Object name="Name 3"/>
>                                               <fx:Object name="Name 4"/>
>                                               <fx:Object name="Name 5"/>
>                                       </s:ArrayCollection>
>                               </s:dataProvider>
>                       </s:List>
>               </s:calloutContent>
>       </s:CalloutButton>
>       
> </s:View>



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to