jQuery.Autosize.Input icon indicating copy to clipboard operation
jQuery.Autosize.Input copied to clipboard

Fit Parent Container Width

Open pviral opened this issue 10 years ago • 0 comments

Hello Martin,

One of the use-case i was thinking of.. I have parent div of width:200px; and when I use autosize input ..it keep on growing beyond 200px. Any suggestions? I was thinking of:

  1. Find the parent element where the input is attached and get the width
  2. pass maxWidth options to constructor

http://jsfiddle.net/mJMpw/1280/

Thanks

pviral avatar Jul 24 '15 06:07 pviral