Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-34190

Hover indicator shows on incorrect row when scrolled and CollectionChangeEvent is dispatched

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Apache Flex 4.11.0
    • None
    • Apache Flex 4.11 AIR 3.9, Desktop

    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 two or three rows 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.

      Attachments

        1. Ghosting.mxml
          2 kB
          Marcus Wilkinson

        Activity

          People

            Unassigned Unassigned
            marcus_sparkus Marcus Wilkinson
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: