jQuery draggable text selection bug

draggable, jquery, jquery-ui

Solution

If you look at the source code for that page, you'll see that it calls

$("div, p").disableSelection();

... which explicitly disables selection on all `div`s and `p`s on the page, including those beneath the draggable elements.

Problem

I am not sure if this is a bug - but in this example there is no way to select the text underneath the elements that can be dragged. Same issue with form elements. http://jqueryui.com/demos/draggable/handle.html Any ideas?

Original source