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,

http://jsfiddle.net/cyvyq/24/

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

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -