in partnership with mediatemple

Ticket #1004 (closed defect: fixed)

Opened 2 weeks ago

Last modified 5 days ago

Sortables scrolling bug

Reported by: aiiiq Owned by:
Type: defect Priority: major
Milestone: Mootools version 1.2 Component: Plugins
Keywords: Sortables, scroll Cc:

Description

run the following code, scroll to bottom will see the bug

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="mootools-beta-1.2b2.js"></script>
<script type="text/javascript">
window.addEvent('domready', function(){

new Sortables($('test'), {});

});
</script>
</head>
<body>
<div id="test" style="height:200px;width:200px;overflow:auto;">
<div style="cursor:move">1234567890</div>
<div style="cursor:move">1234567890</div>
<div style="cursor:move">1234567890</div>
<div style="cursor:move">1234567890</div>
<div style="cursor:move">1234567890</div>
<div style="cursor:move">1234567890</div>
<div style="cursor:move">1234567890</div>
<div style="cursor:move">1234567890</div>
<div style="cursor:move">1234567890</div>
<div style="cursor:move">1234567890</div>
<div style="cursor:move">1234567890</div>
<div style="cursor:move">1234567890</div>
<div style="cursor:move">1234567890</div>
<div style="cursor:move">1234567890</div>
</div>
</body>
</html>

Change History

Changed 2 weeks ago by aiiiq

it seemed all right when i using mootools-trunk-1546.js

but there're 100 div needs to sort, it runs very slow!

Changed 5 days ago by tomocchino

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.