Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Later
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): Windows
Affected OS(s): Windows XP
Browser: Firefox 3.x
Language Found: English
Description
Steps to reproduce:
1. Create a Flex 4 project in FB4.
2. Copy-pase the following code into your main mxml file:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" applicationComplete="initApp()">
<mx:Script>
<![CDATA[
public function initApp():void
public function canvasClickHandler(event:MouseEvent):void {
if (event.eventPhase == EventPhase.CAPTURING_PHASE)
}
]]
>
</mx:Script>
<mx:Canvas width="250" height="250" id="myCanvas">
<mx:TextArea x="30" y="25"/>
<mx:ComboBox x="31" y="87"/>
</mx:Canvas>
</mx:Application>
3. Run the app.
4. Click on the TextArea control.
Actual Results:
Stop propagation on mouse down has no effect on the TextArea control. Focus is given to the control and text can be typed into it.
Expected Results:
See behavior when clicking on the ComboBox. Mouse down is not propagated to the ComboBox. Mouse down should not cause the TextArea to gain focus.
Workaround (if any):