Bug Tracker

Opened 11 years ago

Closed 9 years ago

#2520 closed bug (invalid)

[Resizable]Image move toward oppsited when mouse went out of the boundary

Reported by: zigzag.chen Owned by: braeker
Priority: minor Milestone: 1.2.4
Component: ui Version: 1.2.3
Keywords: resizable image Cc:
Blocked by: Blocking:

Description

tests/resizable.html

When the mouse drag the inner frame of the puppy image and move out of the right/bottom boundary, the image in frame went left/up.

Maybe it is just a bug in the test code.

Change History (4)

comment:1 Changed 11 years ago by paul

Owner: changed from paul to braeker

comment:2 Changed 11 years ago by braeker

I cant understand the problem, could you explain again? Thanks a lot.

comment:3 Changed 11 years ago by telega

I have the same problem. When an element is made both draggable & resizable, after being resized for the 1st time, element begins jumping a bit to up & left direction on any subsequent drag or resize attempt. JQuery version: 1.2.3, JQuery UI version 1.5b

Test code:

<script src="jquery-1.2.3.js"></script>
<script src="jquery.dimensions.js"></script>
<script src="ui.mouse.js"></script>
<script src="ui.draggable.js"></script>
<script src="ui.resizable.js"></script>
<script>
  $(document).ready(function() {
    $("#aaa").resizable().draggable();
  });
</script>

<style>
  #aaa {
    width: 100px;
    height: 100px;
    background-color: lightblue;
    border: 1px solid black;
  }
</style>

<div id="aaa">bbb</a>       

comment:4 Changed 9 years ago by dmethvin

Resolution: invalid
Status: newclosed

This should be filed in the UI bug tracker if still relevant.

http://dev.jqueryui.com

Note: See TracTickets for help on using tickets.