You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ti...@apache.org on 2012/01/18 00:17:36 UTC

svn commit: r1232641 - /incubator/flex/whiteboard/tink/mobile_dropdownlist/README.txt

Author: tink
Date: Tue Jan 17 23:17:36 2012
New Revision: 1232641

URL: http://svn.apache.org/viewvc?rev=1232641&view=rev
Log:
Added a simple README file.

Added:
    incubator/flex/whiteboard/tink/mobile_dropdownlist/README.txt

Added: incubator/flex/whiteboard/tink/mobile_dropdownlist/README.txt
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/tink/mobile_dropdownlist/README.txt?rev=1232641&view=auto
==============================================================================
--- incubator/flex/whiteboard/tink/mobile_dropdownlist/README.txt (added)
+++ incubator/flex/whiteboard/tink/mobile_dropdownlist/README.txt Tue Jan 17 23:17:36 2012
@@ -0,0 +1,5 @@
+On desktop the item is selected on mouse down and the drop down closed. This doesn't work on mobile as the user may be scrolling the list, and therefore the committing of the selected index doesn't happen until mouse up.
+
+I propose that in the override item_mouseDownHandler and we check the interactionMode. If it's "touch" we don't set  userProposedSelectedIndex and we DON'T CLOSE the dropDown, not not touch it carries on as normal, hopefully not introducing any new bugs.
+
+We add an override for,  setSelectedIndex call super then check the interactionMode. If it's touch, set userProposedSelectedIndex and we CLOSE the dropDown.
\ No newline at end of file