0 Replies Latest reply on Sep 10, 2009 5:29 PM by Jason Szeto

    [svn:fx-trunk] 10140: DropDownList mouseWheel and arrow navigation bug fixes

    Jason Szeto Level 3

      Revision: 10140

      Author:   jszeto@adobe.com

      Date:     2009-09-10 17:29:24 -0700 (Thu, 10 Sep 2009)


      Log Message:


      DropDownList mouseWheel and arrow navigation bug fixes


      http://bugs.adobe.com/jira/browse/SDK-22604 - awkward mouse wheel behavior on Spark DropDownList


      Added code to DropDownController to close the dropDown on a mouseWheel scroll unless the mouseWheel scrolling occurred over the dropDown and the dropDown handled the event. For example, if an opened dropDown had a Scroller and the user uses the mouseWheel scroller while over the dropDown, the list should scroll and the dropDown should remain open. But if the user scrolls outside of the dropDown, then the controller should close the dropDown.


      Also discovered that using the keyboard navigation keys was changing the dropDown selection and scrolling the DropDownList's parent container. The fix is to call event.preventDefault if we have handled the navigation key event. 


      QE notes: None

      Doc notes: None

      Bugs: SDK-22604

      Reviewer: Hans

      Tests run: DropDownList

      Is noteworthy for integration: No


      Ticket Links:





      Modified Paths:



          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/DropDownCont roller.as