Opened 7 years ago

Closed 7 years ago

#16616 closed defect (patchwelcome)

Could not scroll in dataGrid at 90% zoom in Chrome

Reported by: gitawego Owned by: Evan
Priority: undecided Milestone: tbd
Component: DojoX Grid Version: 1.8.3
Keywords: Cc:
Blocked By: Blocking:

Description

The DataGrid? couldn't scroll in zoomed out Grid in Chrome:

  1. open in chrome: http://download.dojotoolkit.org/release-1.8.3/dojo-release-1.8.3/dojox/grid/tests/test_grid_simple_structure.html
  1. zoom to 90%
  1. you can't scroll the Grid, because it will automatically scroll to top.

Change History (3)

comment:1 Changed 7 years ago by gitawego

Found the solution: in file dojox\grid\_View.js, at ligne 701 (method "doscroll"):

if(has('ff') >= 13){
	this._nativeScroll = true;
}

add another condition:

if(!has('ff') || has('ff') >= 13){
	this._nativeScroll = true;
}

now, it will work in chrome

comment:2 Changed 7 years ago by bill

DojoX Grid and EnhancedGrid are deprecated in favor of dgrid and gridx.

You should upgrade your code to use one of those two grids.

We will consider patches to the old DojoX Grid code though.

comment:3 Changed 7 years ago by bill

Resolution: patchwelcome
Status: newclosed
Note: See TracTickets for help on using tickets.