Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    ListGrid / Hover / Drag & Drop - 7.0 RC

    Hi,

    I believe to have found a change in behavior between 6.51 and 7.0. This has to do with using
    a ListGrid in conjunction with its Hover/Drag&Drop features combined.

    If you start dragging an item outside the ListGrid, the Hover popup gets shown even when the
    current drag position is outside the ListGrid itself.

    Use the following code to reproduce:

    Code:
    //---------------------------------------------------------
    var TestGrid = isc.defineClass('TestGrid', 'ListGrid');
    TestGrid.addProperties
    ({
    	width : 400,
    	height : 400,
    	autoDraw : true,
    	canHover : true,
    	hoverDelay : 2000,
    	showAllRecords : true,
    	canDragRecordsOut : true,
    	dragDataAction : 'none',
    	cellHoverHTML : function(record, rowNum, colNum)
    	{
    		return record['Name'] + ' is being hovered';
    	},
    	fields :
    	[
    		{ name: 'Code', title : 'Code' },
    		{ name: 'Name', title : 'Name' }
    	],
    	data :
    	[
    		{ Name : 'Item 1', Code : '1' },
    		{ Name : 'Item 2', Code : '2' }
    	]
    });
    
    //---------------------------------------------------------
    TestGrid.create({});
    I tried reproducing this with 6.51 but wasn't able. The Hover fires only when the drag position is still over
    the ListGrid (desired behavior). It's as if the hover timer was not destroyed upon leaving the ListGrid viewport.

    Is there something in 7.0 RC that needs to be done for this not to happen or is it a regression?

    Kind regards,

    #2
    Hi Yan,
    This is indeed a regression - thanks for the bug report.
    We've now resolved this internally - the fix will be present in 7.0 final

    Isomorphic Software

    Comment


      #3
      Thanks,

      Do you have an ETA on 7.0 RC2 or final ?

      Regards,

      Comment

      Working...
      X