Opened 11 years ago

Closed 11 years ago

#5265 closed defect (worksforme)

holding directional key only moves selected node once

Reported by: dante Owned by: benschell
Priority: high Milestone: 1.1
Component: DojoX Grid Version: 0.9
Keywords: a11y grid Cc:
Blocked By: Blocking:

Description

when viewing a grid with a virtual scrollbar, if you select an element, then hold up or down arrow, the selection goes to the next node, though only once. keydown/keyup works as expected.

would be a minor issue, however, the virtual scrollbar continues to try to scroll the pane, and the code that keeps the selected node in the pane's viewport fires, and they battle. releasing the key stops the behavior.

Change History (4)

comment:1 Changed 11 years ago by Becky Gibson

and (quoting phiggins from dojo-meeting) "it should use typematic instead of doKeyDown because holding the arrow never moves a cell but once"

comment:2 Changed 11 years ago by dante

also just noticed: holding the up arrow does not display the same behavior. the scrollbar continues to scroll, and the node is allowed to scroll out of view. It will stay out of view until the next keypress, at which point the scroll offset will snap to make the selected node in view. ff2/osx fwiw, but i suspect it is more of event logic than browser quirk.

comment:3 Changed 11 years ago by benschell

Owner: changed from sorvell to benschell

I'm taking a stab at a whole bunch of Grid bugs. Re-assigning.

comment:4 Changed 11 years ago by benschell

Resolution: worksforme
Status: newclosed

Even without the fix for #4848, I don't see this behavior. I think something changed in the key handling code in the past 3 months to make holding the up/down keys work properly. Especially with the fixes for #4848, this doesn't seem to be a bug any more. Marking as 'worksforme', please let me know if you're still seeing the behavior.

Note: See TracTickets for help on using tickets.