Opened 3 years ago

Last modified 3 years ago

#14776 open bug

Resizable: small position change after resizing attempt

Reported by: MrFu Owned by:
Priority: minor Milestone: none
Component: ui.resizable Version: 1.11.2
Keywords: Cc:
Blocked by: Blocking:

Description

When trying to make an existing dialog window smaller and hitting the minimum size limit, the position of the entire dialog changes which is not supposed to happen. The position coordinate properties of the dialog remain the same though!

More detailed description and link to example: http://stackoverflow.com/questions/33026444/jquery-ui-dialog-moves-a-bit-after-each-failed-resizing-attempt

Change History (2)

comment:1 Changed 3 years ago by Scott González

Component: ui.dialogui.resizable
Status: newopen
Summary: Dialog: small position change after resizing attemptResizable: small position change after resizing attempt

I'm guessing this is another case of subpixel problems.

comment:2 Changed 3 years ago by MrFu

I noticed that the shifting problem doesn't occur with older versions of jQuery e.g. 1.4.2 as can be seen on this page: http://jquery-ui.googlecode.com/svn/tags/1.8rc3/tests/visual/dialog/default.html

I've tested a number of later versions. From 1.5 all the way to the current version, the problem definitely appears e.g. on https://jqueryui.com/dialog/

Note: See TracTickets for help on using tickets.