Opened 5 years ago

Last modified 5 years ago

#7971 open feature

Keyboard controls

Reported by: agaur Owned by:
Priority: minor Milestone: 2.0.0
Component: ui.draggable Version: 1.8.16
Keywords: Cc:
Blocked by: Blocking:

Description

ui.draggable does not provide an inbuilt functionality to add keyboard control. By keyboard control I mean on pressing the arrow keys the element should move in the expected direction.

Writing such a behavior for any component is not a big deal but the problem occurs when we have added constraints, such as container constraint, to draggable component. Have a look at the following stack overflow question for more clarity. http://stackoverflow.com/questions/3282573/jquery-draggable-and-keyboard-control

Change History (3)

comment:1 Changed 5 years ago by Scott González

Type: enhancementfeature

comment:2 Changed 5 years ago by Scott González

Milestone: 1.9.02.0.0

comment:3 Changed 5 years ago by Jörn Zaefferer

Status: newopen

Something to consider for the 2.0.0 rewrite.

Hans has implemented keyboard support for dragging inside dialog: https://github.com/hanshillen/jquery-ui/blob/dialog-hh/ui/jquery.ui.dialog.js#L413

Note: See TracTickets for help on using tickets.