Opened 12 years ago
Last modified 9 years ago
#6783 open bug
Resizable: aspect ratio is only calculated in one direction
Reported by: | em | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 2.0.0 |
Component: | ui.resizable | Version: | 1.8.7 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description (last modified by )
See the second comment for the description.
Change History (7)
comment:1 Changed 12 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 follow-up: 6 Changed 12 years ago by
Look at the demo: http://jqueryui.com/demos/resizable/#aspect-ratio
Move your cursor to the left without moving the cursor upwards, and it doesn't resize. It only resizes based on the y axis.
Now open up any graphic editor, 3d modeler, or anything that does resizing ever made, and notice the logic follows the little code snippet at the top of my original post.
comment:3 Changed 12 years ago by
Description: | modified (diff) |
---|---|
Resolution: | invalid |
Status: | closed → reopened |
Summary: | ui.resizable ignored x axis instead of calculating with max difference → Resizable: aspect ratio is only calculated in one direction |
comment:4 Changed 10 years ago by
Milestone: | 1.9.0 → 2.0.0 |
---|
comment:5 Changed 10 years ago by
Status: | reopened → open |
---|
comment:6 follow-up: 7 Changed 9 years ago by
Replying to em:
Move your cursor to the left without moving the cursor upwards, and it doesn't resize. It only resizes based on the y axis.
Could not figure out which side Resizable handle i should drag ? E or W ?
Please provide a description of the actual problem instead of just dumping a bunch of code into a ticket. Also, please don't paste code into tickets; use jsFiddle or jsbin.