Skip to main content

Search and Top Navigation

#7971 open feature ()

Opened December 27, 2011 01:33PM UTC

Last modified November 04, 2012 06:51PM UTC

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

Attachments (0)
Change History (3)

Changed June 26, 2012 01:22AM UTC by scottgonzalez comment:1

type: enhancementfeature

Changed October 11, 2012 02:49PM UTC by scottgonzalez comment:2

milestone: 1.9.02.0.0

Changed November 04, 2012 06:51PM UTC by jzaefferer comment:3

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