Opened 11 years ago

Closed 7 years ago

#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:
Blocked by: Blocking:

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 (1)

ticket_2843.txt (2.9 KB) - added by talmdal 10 years ago.

Download all attachments as: .zip

Change History (10)

comment:1 Changed 11 years ago by (none)

Milestone: 1.2.4

Milestone 1.2.4 deleted

comment:2 Changed 11 years ago by paul

Component: ui.coreui.selectable
Version: 1.2.31.5b4

comment:3 Changed 11 years ago by paul

Owner: changed from paul to rdworth
Status: newassigned

comment:4 Changed 11 years ago by Cloudream

Milestone: TDB

comment:5 Changed 10 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 10 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".

Changed 10 years ago by talmdal

Attachment: ticket_2843.txt added

comment:7 Changed 10 years ago by talmdal

Realizing the dev branch has this already implemented, the attachment is how I implemented it in 1.7.2

comment:8 Changed 7 years ago by Scott González

Milestone: TBD2.0.0

comment:9 Changed 7 years ago by mikesherov

Resolution: notabug
Status: assignedclosed

As noted 3 years ago, the feature was already implemented elsewhere.

Note: See TracTickets for help on using tickets.