flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcus Wilkinson (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLEX-34190) Hover indicator shows on incorrect row when scrolled and CollectionChangeEvent is dispatched
Date Wed, 26 Mar 2014 13:05:17 GMT

     [ https://issues.apache.org/jira/browse/FLEX-34190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Marcus Wilkinson updated FLEX-34190:
------------------------------------

    Description: 
Steps to reproduce:
* Create and run the attached project.
* click on the "change something" button on one of the lower rows

Actual result:
* The hover indicator shows on the row two or three higher than where the mouse is.

Expected result:
* The hover indicator does not change from the row under the mouse


Culprit seems to be in spark.components.Grid.as, the function updateHoverForDataProviderChange
computes the hoverRowIndex to be one which ignores the current scroll position.

  was:
Steps to reproduce:
* Create and run the attached project.
* click on the "change something" button on one of the lower rows

Actual result:
* The row two or three higher than where the mouse is shows the hover indicator

Expected result:
* The hover indicator does not change from the row under the mouse


Culprit seems to be in spark.components.Grid.as, the function updateHoverForDataProviderChange
computes the hoverRowIndex to be one which ignores the current scroll position.


> Hover indicator shows on incorrect row when scrolled and CollectionChangeEvent is dispatched
> --------------------------------------------------------------------------------------------
>
>                 Key: FLEX-34190
>                 URL: https://issues.apache.org/jira/browse/FLEX-34190
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Spark: DataGrid, Spark: Scroller
>    Affects Versions: Apache Flex 4.11.0
>         Environment: Apache Flex 4.11 AIR 3.9, Desktop
>            Reporter: Marcus Wilkinson
>              Labels: datagrid, gridclick
>         Attachments: Ghosting.mxml
>
>
> Steps to reproduce:
> * Create and run the attached project.
> * click on the "change something" button on one of the lower rows
> Actual result:
> * The hover indicator shows on the row two or three higher than where the mouse is.
> Expected result:
> * The hover indicator does not change from the row under the mouse
> Culprit seems to be in spark.components.Grid.as, the function updateHoverForDataProviderChange
computes the hoverRowIndex to be one which ignores the current scroll position.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message