Opened 12 years ago

Closed 9 years ago

Last modified 8 years ago

#10065 closed defect (patchwelcome)

Grid: scrolling issue with Firefox

Reported by: Becky Gibson Owned by:
Priority: high Milestone: future
Component: DojoX Grid Version: 1.3.2
Keywords: Cc: Becky Gibson
Blocked By: Blocking:

Description (last modified by Nathan Toone)

  1. Load grid/tests/test_grid.html in Firefox (tested with 3.5.3).
  2. Click the right scroll bar. Notice that the focus indicator moves to the first column header but the grid does not scroll.
  3. Click the right scroll bar arrow again and scrolling works as expected.

In IE 8, no focus indicator is drawn on the column header and the grid scrolls correctly - I suspect that is because the grid onfocus event handler does not get called in IE 8 when you click on a scroll bar. The grid onfocus handler sets focus into the grid and if there is no previously focused cell, focus goes to the first column header.

This is a refinement of #9756. Where Graham Collinson pointed out:

The remaining issue for the first click appears to be down to the following code in doscroll in _View.js:

this.scrollboxNode.scrollLeft = isLtr ?

this.scrollboxNode.clientWidth - this.scrollboxNode.scrollWidth : this.scrollboxNode.scrollWidth - this.scrollboxNode.clientWidth;

which is only executed for Mozilla.

Attachments (1)

dojo_GridEnhance.html (2.8 KB) - added by immsp 8 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 12 years ago by Nathan Toone

Description: modified (diff)
Milestone: tbd1.5

comment:2 Changed 12 years ago by Nathan Toone

Milestone: 1.5future
Owner: Nathan Toone deleted

Moving my tickets to future, as I am not currently working on them.

comment:3 Changed 9 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:4 Changed 9 years ago by bill

Resolution: patchwelcome
Status: newclosed

Changed 8 years ago by immsp

Attachment: dojo_GridEnhance.html added

comment:5 Changed 8 years ago by immsp

The problem also can be reproduced on dojo1.9,Windows7 x64 Firefox17, using the enhance grid. Please test it under windowed browser, with my attachment, putting it under dojo root dir. Thx a lot.

Note: See TracTickets for help on using tickets.