You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by "Sébastien Kafif (JIRA)" <ji...@apache.org> on 2013/01/21 20:46:14 UTC

[jira] [Comment Edited] (FLEX-14658) Drop feedback still showing after call to hideDropFeedback

    [ https://issues.apache.org/jira/browse/FLEX-14658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13559017#comment-13559017 ] 

Sébastien Kafif edited comment on FLEX-14658 at 1/21/13 7:46 PM:
-----------------------------------------------------------------

when you use dragDrop DataGrid property, the useCapture property of the addEventListener is set to false by default...
If you add in actionscript the addEventListener like this :

targetGrid.addEventListener(DragEvent.DRAG_DROP, onDragDrop, true);

it won''t bug 
                
      was (Author: sebastienk):
    when you use dragDrop DataGrid property, the useCapture property of the addEventListener is set to false by default...
If you add in actionscript the addEventListener like this :

targetDatagrid.addEventListener(DragEvent.DragDrop, yourCallBack, true, 0, false); 

it won''t bug 
                  
> Drop feedback still showing after call to hideDropFeedback
> ----------------------------------------------------------
>
>                 Key: FLEX-14658
>                 URL: https://issues.apache.org/jira/browse/FLEX-14658
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Drag and Drop
>    Affects Versions: Adobe Flex SDK 3.0 (Release)
>         Environment: Affected OS(s): Mac
> Affected OS(s): Mac OS 10.5
> Browser: Firefox 2.x
> Language Found: English
>            Reporter: Adobe JIRA
>         Attachments: DragDropBugged.mxml, DragDropFixed.mxml
>
>
> These are the reproduction steps when running the application in the attached file: DragAndDropTest.mxml
> Steps to reproduce:
> 1. Drag and drop 4 rows from the source grid to the target grid.
> 2. Drag 1 more row from the source grid, and position the drop point either before the last row or after the last row. 
> 3. Drop the row onto the target grid.
> 4. Watch the target grid drop feedback continue to display after the drop.
>  
>  Actual Results:
>  The drop feedback on the target grid (grid border color and drop position indicator) continues to display after the drop is complete.
>  
>  Expected Results:
>  The target grid's drop indicator should stop displaying after the drop is complete. 
>  
>  Workaround (if any):
>  None.

--
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