Modify ↓
Ticket #2584 (closed bug: wontfix)
[Resizable & Draggable] Element jumps up & left after resize in Mozilla
| Reported by: | telega | Owned by: | braeker |
|---|---|---|---|
| Priority: | major | Milestone: | 1.2.4 |
| Component: | ui | Version: | 1.2.3 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
The code below produces a draggable and resizable div, as expected. However, once this div is resized for the 1st time, subsequent resizes and drags cause the div to jump a bit to up & left. This happens only in Firefox (3.0b5pre). Opera and IE work fine.
<script src="jquery/jquery-1.2.3.js"></script>
<script src="jquery/jquery.dimensions.js"></script>
<script src="jquery/ui.mouse.js"></script>
<script src="jquery/ui.draggable.js"></script>
<script src="jquery/ui.resizable.js"></script>
<script>
$(document).ready(function() {
$("<div id='aaa'></div>").resizable()
.draggable()
.appendTo(document.body);
});
</script>
<style>
#aaa {
width: 100px;
height: 100px;
background-color: lightblue;
border: 1px solid black;
}
</style>
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.
