Bug Tracker

Modify

Ticket #2520 (closed bug: invalid)

Opened 5 years ago

Last modified 3 years ago

[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:
Blocking: Blocked by:

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

comment:1 Changed 5 years ago by paul

  • Owner changed from paul to braeker

comment:2 Changed 5 years ago by braeker

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

comment:3 Changed 5 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 3 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid

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

 http://dev.jqueryui.com

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.