Return-Path: X-Original-To: apmail-flex-dev-archive@www.apache.org Delivered-To: apmail-flex-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 33864FB28 for ; Tue, 30 Apr 2013 12:14:18 +0000 (UTC) Received: (qmail 70578 invoked by uid 500); 30 Apr 2013 12:14:17 -0000 Delivered-To: apmail-flex-dev-archive@flex.apache.org Received: (qmail 70527 invoked by uid 500); 30 Apr 2013 12:14:16 -0000 Mailing-List: contact dev-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list dev@flex.apache.org Received: (qmail 70499 invoked by uid 99); 30 Apr 2013 12:14:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Apr 2013 12:14:16 +0000 Date: Tue, 30 Apr 2013 12:14:15 +0000 (UTC) From: "Jeremy Wischusen (JIRA)" To: dev@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLEX-17084) Unexpected behavior in ComboBox MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FLEX-17084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13645522#comment-13645522 ] Jeremy Wischusen commented on FLEX-17084: ----------------------------------------- Still occurring using SDK 4.9.1 on Mac OS X 10.7.5 using provided code. > Unexpected behavior in ComboBox > ------------------------------- > > Key: FLEX-17084 > URL: https://issues.apache.org/jira/browse/FLEX-17084 > Project: Apache Flex > Issue Type: Bug > Components: mx: ComboBox > Affects Versions: Adobe Flex SDK Previous > Environment: Affected OS(s): All OS Platforms > Affected OS(s): All OS Platforms > Language Found: English > Reporter: Adobe JIRA > Labels: easytest > > Steps to reproduce: > 1. MAIN APP SOURCE > > > import mx.controls.Button; > import mx.events.DropdownEvent; > private var statesXML:XML = > > > > > > > ; > [Bindable] > private var statesXMLList:XMLList = statesXML.state; > private function closeHandler(ev:DropdownEvent):void{ > return > } > ]] > > > width="200" > close="closeHandler(event)" > prompt="select..." > dataProvider="{statesXMLList}" > rowCount="3" > labelField="@name" > itemRenderer="ComboBoxCheckItemRenderer" /> > > > > SOURCE FOR ComboBoxCheckItemRenderer.mxml: > > private function changeHandler(ev:Event):void{ > // var xml:XML = new XML(data as XML); > // xml.@sel=CB.selected?'true':'false'; > // data = xml; > ev.stopImmediatePropagation(); > ev.preventDefault(); > } > ]] > > > > > > > 2. > open combo box > click on check box > 3. > > Actual Results: > ComboBox closes dropdownlist most of the time on checkbox click. It happens sometimes that the dropdown list doesn't close (mainly on second item for some reason) > > Expected Results: > ComboBox never closes dropdown list on checkbox click > > Workaround (if any): > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira