Opened 15 years ago

Closed 15 years ago

#3034 closed bug (notabug)

Sortable items within table + float:left + IE7 = items not displayed

Reported by: thye Owned by: paul
Priority: major Milestone:
Component: ui.sortable Version: 1.5
Keywords: sortable table float Cc:
Blocked by: Blocking:


Try the following html with jquery.ui 1.5 in Firefox, you can see item 1, 2 and 3. Try it in IE7, you see nothing. The bug occurred when sortable items are 'floated' and within a table.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">
<script type="text/javascript" src="jquery-1.2.6.min.js"></script>
<script type="text/javascript" src="ui.core.min.js"></script>
<script type="text/javascript" src="ui.sortable.min.js"></script>
<script type="text/javascript">


ul { list-style-type: none; }
ul li { float: left; }



	<ul id=mylist>
		<li>item 1</li>
		<li>item 2</li>
		<li>item 3</li>



Change History (1)

comment:1 Changed 15 years ago by paul

Resolution: invalid
Status: newclosed

This is not a bug within sortables, but apparently within the jQuery core - setting css("position", "relative") on the container causes the behaviour - but it's not like that if you set it in the style attribute before explicitely.

Would be great if you could enter it again in Thanks!

Note: See TracTickets for help on using tickets.