Opened 10 years ago

Closed 7 years ago

#10853 closed defect (patchwelcome)

grid: datagrid inside of a border container with splitter grabs focus from splitter

Reported by: Becky Gibson Owned by: Bryan Forbes
Priority: high Milestone: future
Component: DojoX Grid Version: 1.4.0
Keywords: a11y Cc:
Blocked By: Blocking:

Description

If you put the DataGrid? into a borderContainer that has a splitter that will affect the size of the grid when the splitter is moved, the DataGrid? will grab focus from the splitter.

The problem is that the grid code listens for the postrender event to reset focus back onto the current cell after a scroll of the grid. But, postrender also gets called when the grid is resized -which is what happens when the bordercontainer the grid is within gets resized. Thus, the grid is grabbing focus from the splitter and setting focus into the grid.

This particularly affects keyboard users who tab out of the grid to the splitter, press the arrow key just once to change the container size and focus is set back into the grid.

Change History (5)

comment:1 Changed 10 years ago by Becky Gibson

We can live with this for accessibility since there is a work-around, refocus the splitter and press the arrow key again. However this is certainly not very usable and thus, this should be fixed.

comment:2 Changed 9 years ago by Becky Gibson

Milestone: 1.5future

comment:3 Changed 8 years ago by Chris Mitchell

Owner: changed from Becky Gibson to Bryan Forbes

reassign due to inactive committer. please triage accordingly.

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

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