Bug Tracker

Ticket #2520 (new bug)

Opened 6 months ago

Last modified 5 months ago

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

Reported by: zigzag.chen Assigned to: braeker
Type: bug Priority: minor
Milestone: 1.2.4 Component: ui
Version: 1.2.3 Keywords: resizable image
Cc: Needs: Review

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.

Attachments

Change History

Changed 6 months ago by paul

  • owner changed from paul to braeker

Changed 5 months ago by braeker

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

Changed 5 months 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>
Note: See TracTickets for help on using tickets.