[
https://issues.apache.org/jira/browse/FLEX-22950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Justin Mclean updated FLEX-22950:
---------------------------------
Labels: easyfix easytest (was: )
> ListBase - mouseY not updating in AIR, therefore dragScroll fails
> -----------------------------------------------------------------
>
> Key: FLEX-22950
> URL: https://issues.apache.org/jira/browse/FLEX-22950
> Project: Apache Flex
> Issue Type: Bug
> Components: mx: List
> Affects Versions: Adobe Flex SDK 3.2 (Release)
> Environment: Affected OS(s): All OS Platforms
> Language Found: English
> Reporter: Adobe JIRA
> Labels: easyfix, easytest
>
> Steps to reproduce:
> 1. Create a new AIR project. (this is a non-issue for the web - web projects
> work correctly)
> 2. Add a List and/or Tree component (anything that extends ListBase)
> 3. Fill the list/tree w/ 20+ rows.
> 4. Set the height of the list/tree so vertical scrolling is necessary.
> 5. Set dragEnabled to true;
> 6a. Try to drag something from the top to the bottom, or bottom to the top.
> 6b. Try to drag something from the middle to the bottom or the top.
> Actual Results:
> 6a. This sometimes works.
> 6b. This never works. The list/tree never auto-scrolls.
> Expected Results:
> 6a/6b. The list/tree auto-scrolls to allow you to drag to non-viewable areas.
>
> Workaround (if any):
>
> Monkey-patch ListBase.dragScroll()
> add this line:
> var localY:Number = lastDragEvent ? lastDragEvent.localY : mouseY;
> replace all instances of mouseY in dragScroll() with the new localY var.
--
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