Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Mouse sticks on scroll bar

$
0
0
Hi,

We have an issue that the mouse sticks on the horizontal scroll bar of the ListGrid body.

This issue is originally found on IE 8. To reproduce this issue, we can also use IE9 and set Browser Mode to be "IE8" and Document Mode to be "IE8 Standards". We are using SmartClient_v8.3p_2014_10_18.

Steps to reproduce:

1. Open a browser window which is not maximized.
2. Move the scroll bar from left to right, then back to left. While moving back to left, with holding on the left hand side of the mouse, move the cursor to cross the left edge of the browser window and then release the mouse.
3. Move the mouse cursor back in the browser window and move it to the listgrid body. Without finger pressed on the left hand side of the mouse, the scroll bar will keep moving to wherever the cursor moves.

Please try the following standalone.

Thanks!
Robin

Code:

var num = 50,       
        ds = new Array(),       
        name = "name";
       
for (var i=0 ; i< num; i++) {
        var dsObj = {};
        dsObj[name] = 'pk'+i;
        dsObj['type'] = 'text';
        dsObj['title'] = 'PK'+i;
        ds[i] = dsObj;
}

var rawData = new Array();

for (var i =0; i<10; i++) {
        var dataObj ={};
        for (var j=0; j<num; j++) {       
                var key = 'pk'+ j;
                dataObj[key] = 'Raw Data '+j;
        }
        rawData[i] = dataObj;
}


var fieldData = new Array();

for (var i=0; i<num; i++) {
        var fieldObj = {};
        fieldObj['name'] = 'pk'+i;
        fieldObj['width'] = 100;
        fieldData[i] = fieldObj;
}
               
isc.DataSource.create({
    ID:"orderItemLocal2",
    clientOnly:true,
    testData:rawData,
    fields:ds
});
               
isc.ListGrid.create({
    ID: "companyList",
        top: 10,
    width:"100%", height: 500,
    autoFetchData:true,
    dataSource:orderItemLocal2,
    fields:fieldData,
        //fixedRecordHeights:false,
        headerHeight:45
});


Viewing all articles
Browse latest Browse all 4756

Trending Articles