Ticket #2843 (closed feature: notabug)

Opened 5 years ago

Last modified 7 months ago

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

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

Change History

comment:1 Changed 5 years ago by anonymous

  • Milestone 1.2.4 deleted

Milestone 1.2.4 deleted

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:4 Changed 5 years ago by Cloudream

  • Milestone set to TDB

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".

Changed 4 years ago by talmdal

comment:7 Changed 4 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 months ago by scott.gonzalez

  • Milestone changed from TBD to 2.0.0

comment:9 Changed 7 months ago by mikesherov

  • Status changed from assigned to closed
  • Resolution set to notabug

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

Note: See TracTickets for help on using tickets.