Bi Jane Jia created FLEX-34219:
----------------------------------

             Summary: Tooltip displays in wrong tag
                 Key: FLEX-34219
                 URL: https://issues.apache.org/jira/browse/FLEX-34219
             Project: Apache Flex
          Issue Type: Bug
    Affects Versions: Apache Flex 4.11.0, Adobe Flex SDK 4.6 (Release)
            Reporter: Bi Jane Jia
         Attachments: main.mxml

STEPS TO REPRODUCE:
===================
1. Run the attached Main.mxml
2. In tag "toolTip", click the checkbox to turn it on.
3. Select tag "toolTip2" and move the cursor in the middle textinput, you can 
see tooltip of "BBBBBBBB" shows up.
4. Select tag "toolTip".
5. Click the checkbox to turn it off and then click the check box to turn it on.

RESULT:
=======
tooltip of "BBBBBBBB" shows up in tag "toolTip"

EXPECTED:
=========
tooltip for textinput of tag "toolTip2" should not show up in tag "toolTip"

WORKAROUND:
===========
Do not set tooltip in the change event. Set tooltip in the click event of tag 
"toolTip2".

<mx:Canvas  label="toolTip" width="100%" height="100%">
        <mx:VBox  width="100%" height="100%">
                <mx:VBox>
                        <mx:VBox>
                                <mx:TextInput id="Txi" width="140"  height="24" 
/>
                        </mx:VBox>                      
                        <mx:CheckBox id="ChkBx" height="100%"/>
                </mx:VBox>
                        
        </mx:VBox>
</mx:Canvas>
        
<mx:Canvas  label="toolTip2" width="100%" height="100%" click="changeState()">



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

Reply via email to