Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-34405

CalloutButton shows calloutContents on MouseOver, instead of MouseClick

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    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>

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            mamsellem Maurice Amsellem
            megharajdeepak Deepak MS

            Dates

              Created:
              Updated:

              Slack

                Issue deployment