Opened 7 years ago

Closed 7 years ago

#8448 closed bug (notabug)

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>

Change History (1)

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

Component: ui.coreui.droppable
Resolution: invalid
Status: newclosed

Please read the documentation for droppable's tolerance option.

Note: See TracTickets for help on using tickets.