Opened 8 years ago

Closed 8 years ago

#8369 closed feature (wontfix)

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/

Change History (1)

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

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.

Note: See TracTickets for help on using tickets.