jQuery UI resizable Min width is too large -
in following jsfiddle - i've reproduced issue i'm having jquery ui resize
.
when try resize div
1px
wide - automatically increases in size , result can not don it's original size (or smaller newly created div
size).
has encountered issue? tried tagging min-width: 1px;
in .css
had no effect.
css 1px
wide bar below;
.task { position: absolute; height: 25px; width: 1px; background-color: yellow; cursor: move; white-space:nowrap; top: 0; font-family: corbel; font-size: x-small; line-height:2.5em; text-indent: 0.5em; z-index: 1; border: 2px outset; border-bottom: 1px solid black; }
thanks in advance,
you close. need set minwidth
in resizable
properties, , not in css. the default minwidth
10, can set 1 desired behavior.
.resizable({ //containment: "parent", minwidth: 1, handles: 'e, w', });
the updated jsfiddle.
Comments
Post a Comment