Ticket #1004 (closed defect: fixed)
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>