Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#2584 closed bug (wontfix)

[Resizable & Draggable] Element jumps up & left after resize in Mozilla

Reported by: telega Owned by: eduardo
Priority: major Milestone:
Component: ui.core Version: 1.2.3
Keywords: Cc:
Blocked by: Blocking:


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>
  $(document).ready(function() {
    $("<div id='aaa'></div>").resizable()
  #aaa {
    width: 100px;
    height: 100px;
    background-color: lightblue;
    border: 1px solid black;

Change History (4)

comment:1 Changed 15 years ago by paul

Owner: changed from paul to braeker

comment:2 Changed 15 years ago by telega

More info: jump offset equals to the body margin. When body margin = 0, no jump occurs.

comment:3 Changed 15 years ago by paul

Resolution: wontfix
Status: newclosed

having a margin on the body is not supported by jQuery's offset method, it's too difficult to track. If you need a margin, please use a div wrapper.

comment:4 Changed 15 years ago by (none)

Milestone: 1.2.4

Milestone 1.2.4 deleted

Note: See TracTickets for help on using tickets.