Ticket #2843 (closed feature: notabug)
Selectables AND draggables?
| Reported by: | energia | Owned by: | rdworth |
|---|---|---|---|
| Priority: | major | Milestone: | 2.0.0 |
| Component: | ui.selectable | Version: | 1.5b4 |
| Keywords: | ui draggable selectable | Cc: | |
| Blocking: | Blocked by: |
Description
Actually I didn't manage to find a way to make an element both selectable and draggable (even "droppable" maybe?). Interface could make such things, there was a demo at interface.eyecon.ro but it's not available anymore.
I think selectables are almost useless if we can't drag/drop them, in order to reproduce the daily desktop experience we are accostumed to.
Many people on the jquery discussion group asked for it, so I posted a ticket here. Is it a bug or a feature request? :) Thanks in advance,
Dario
Attachments
Change History
comment:2 Changed 5 years ago by paul
- Version changed from 1.2.3 to 1.5b4
- Component changed from ui.core to ui.selectable
comment:3 Changed 5 years ago by paul
- Owner changed from paul to rdworth
- Status changed from new to assigned
comment:5 follow-up: ↓ 6 Changed 4 years ago by ajacksified
One way to get around this is assigning a handle to the draggable; otherwise, you'd have to be able to start dragging from a parent element (like the folder whitespace area in desktop OSes).
comment:6 in reply to: ↑ 5 Changed 4 years ago by ajacksified
Replying to ajacksified:
One way to get around this is assigning a handle to the draggable; otherwise, you'd have to be able to start dragging from a parent element (like the folder whitespace area in desktop OSes).
Cancel that: the parent *does* let you make a selection. If you make a ul selectable, you can drag in the whitespace background of the ul as well as from within any margin you have between list items; you can also set the list items to selectable; you have the same experience as in any file browser like Windows Explorer. I've successfully implemented this model and it works in IE6+, FF2+, Chrome 1 and 2 beta, and Opera 9 without problems. Check it out: http://labs.crimsondeviations.com/dstest.html
Now.. being able to move multiple things at once that have been selected- that's what I'd like to see. As soon as I implemented this in our project, 10 out of 10 people I showed it to asked if we could resequence (using sortable, not draggable, in my case) the 25 items they've selected. I said, "yeah, someday".



Milestone 1.2.4 deleted