Skip to main content

Search and Top Navigation

#8540 closed feature (duplicate)

Opened August 31, 2012 08:04AM UTC

Closed March 12, 2013 01:02AM UTC

New Sortable option to specify horizontal or vertical floating mode

Reported by: pierre_taillard Owned by:
Priority: minor Milestone: 2.0.0
Component: ui.sortable Version: 1.8.21
Keywords: Cc:
Blocked by: Blocking:
Description

Hi,

I could be a little but useful feature: Give (to the sortable's user) the possibility to specify horizontal or vertical floating mode when creating sortable widget.

When you don't want to have items when sortable is initialized, floating mode is set by default to vertical :

jquery.ui.sortable.js - line 53

this.floating = this.items.length ? (/left|right/).test(this.items[0].item.css('float')) : false;

Maybe an new option ('floating') which overrides the computing floating mode above should be helpful for addressing this case.

Regards

Attachments (0)
Change History (3)

Changed October 11, 2012 02:56PM UTC by scottgonzalez comment:1

milestone: 1.9.02.0.0

Changed November 05, 2012 12:46PM UTC by jzaefferer comment:2

status: newopen

Consider for redesign.

Changed March 12, 2013 01:02AM UTC by tj.vantoll comment:3

resolution: → duplicate
status: openclosed

Duplicate of #7498.