Skip to main content

Search and Top Navigation

#8399 closed bug (fixed)

Opened June 18, 2012 10:35AM UTC

Closed June 19, 2013 12:41PM UTC

Last modified June 19, 2013 12:43PM UTC

Draggable: focusable elements do not get focus

Reported by: kdinev2 Owned by:
Priority: minor Milestone: 1.11.0
Component: ui.draggable Version: 1.8.18
Keywords: Cc:
Blocked by: Blocking:

After instantiating draggable on a focusable element, I can no longer focus it with mouse interaction.


Steps to reproduce if the above e.g. doesn't work:

1. Create a page with two anchors.

2. Instantiate draggable on one of them.

3. Notice the draggable anchor cannot be focused with the mouse.

Reproducible in:



I have not referred to the draggable source code, but I assume that the mousedown event is being cancelled.

Attachments (0)
Change History (9)

Changed June 18, 2012 01:28PM UTC by scottgonzalez comment:1

Preventing the default action is a requirement for implementing drag and drop, but we should probably move focus on drag.

Changed June 18, 2012 01:46PM UTC by kdinev2 comment:2

It would be great if you could do so. Thanks!

Changed June 18, 2012 01:52PM UTC by kdinev2 comment:3

I have something to add. The draggable doesn't work at all in IE8/IE7 document mode on focusable elements. It works fine with a <div> but not with <a>.

Changed July 17, 2012 10:45AM UTC by kdinev2 comment:4

Any updates on this, because it still is quite an issue that the draggable doesn't work at all under IE7/IE8 when instantiated on a focusable element?

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


Changed October 28, 2012 07:46PM UTC by mikesherov comment:6

status: newopen

Changed October 29, 2012 12:42AM UTC by scottgonzalez comment:7

Related to #4261

Changed June 19, 2013 12:41PM UTC by Steven Luscher comment:8

resolution: → fixed
status: openclosed

Clicking on a draggable anchor without moving it should make it the active element (Fixes #8399).

Changeset: bca3e058e89bf40806170149b8029dfe52644248

Changed June 19, 2013 12:43PM UTC by mikesherov comment:9