Opened 9 years ago

Closed 9 years ago

Last modified 6 years ago

#6021 closed bug (worksforme)

Handles ignores atributes concerning width and height

Reported by: gmreburn Owned by:
Priority: minor Milestone:
Component: ui.resizable Version: 1.8.4
Keywords: handles, minHeight, maxHeight, minWidth, maxWidth Cc:
Blocked by: Blocking:

Description

Elements can be re-sized above and below the entered min and max widths with the HTML code below.

<html>
<head>
<!--

Be sure to include all the needed jquery files with the correct paths.

-->
        
<script type="text/javascript">
$(".test").resizable({
  handles: 'e',
  minWidth: '50px',
  maxWidth: '200px'
});
</script>
</head>
<body>

<div class="test" style="border: 1px solid; width: 100px; height: 100px;">Resizable Div</div>
</body>
</html>

Change History (3)

comment:1 Changed 9 years ago by gmreburn

minWidth, maxWidth, minHeight and maxHeight must be entered as numbers not strings / pixels.

comment:2 Changed 9 years ago by Scott González

Resolution: worksforme
Status: newclosed

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

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.