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:
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,
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({});
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,
Comment