Skip to main content

Search and Top Navigation

#8448 closed bug (notabug)

Opened July 19, 2012 08:44AM UTC

Closed July 19, 2012 10:53PM UTC

Dropping on tab header doesn't work if the item doesn't have a forced small width

Reported by: jpic Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.droppable Version: 1.8.21
Keywords: Cc:
Blocked by: Blocking:
Description

Dropping an item on a tab header works here:

http://pub.yourlabs.org/sortable-working.html

But not here:

http://pub.yourlabs.org/sortable-broken.html

The diff between these files is just:

--- /home/jpic/sortable-working.html	2012-07-18 19:26:20.399072603 +0200
+++ /home/jpic/sortable-broken.html	2012-07-18 19:27:33.955074574 +0200
@@ -7,7 +7,7 @@
     <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.19/jquery-ui.js"></script>
     <link rel="stylesheet" type="text/css" href="http://jqueryui.com/themes/base/jquery.ui.all.css" />
 	<style>
-	.connectedSortable div { margin: 0 5px 5px 5px; padding: 5px; font-size: 1.2em; width: 120px; }
+	.connectedSortable div { margin: 0 5px 5px 5px; padding: 5px; font-size: 1.2em; width: 400px; }
     .field span, .field div { display: inline-block; }
     .ui-icon { vertical-align: middle; }
 	</style>

Attachments (0)
Change History (1)

Changed July 19, 2012 10:53PM UTC by scottgonzalez comment:1

component: ui.coreui.droppable
resolution: → invalid
status: newclosed

Please read the documentation for droppable's tolerance option.