Ticket #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: | |
| 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: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>
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
