Skip to main content

Search and Top Navigation

#8369 closed feature (wontfix)

Opened May 30, 2012 03:01PM UTC

Closed May 30, 2012 03:17PM UTC

Auto align (top, left) for draggables

Reported by: xbellox Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.draggable Version: 1.8.20
Keywords: Cc:
Blocked by: Blocking:
Description

A nice feature would be the possibility to auto align one draggable with another element (usually another draggable).

It's similar to snap feature, but instead put the elements together it would align top position (if dragging up) and left position (if dragging left). Right and bottom align it would be nice too.

I implemented something similar by creating invisible lines around the elements and setting the snap target to their class. For sure it's not the best way, but it gives an idea... Check this out: http://jsfiddle.net/JsU7P/

Attachments (0)
Change History (1)

Changed May 30, 2012 03:17PM UTC by scottgonzalez comment:1

resolution: → wontfix
status: newclosed

We're going to remove a lot of this type of logic in the rewrite. All of these behaviors should be built as extensions.