diff --git a/autosize.jquery.json b/autosize.jquery.json
index dc767eb..047b33e 100644
--- a/autosize.jquery.json
+++ b/autosize.jquery.json
@@ -7,7 +7,7 @@
"textarea",
"ui"
],
- "version": "1.16.13",
+ "version": "1.16.14",
"author": {
"name": "Jack Moore",
"url": "http://www.jacklmoore.com",
diff --git a/component.json b/component.json
index 8330a3b..f1a87ba 100644
--- a/component.json
+++ b/component.json
@@ -1,6 +1,6 @@
{
"name": "jquery-autosize",
- "version": "1.16.13",
+ "version": "1.16.14",
"main": "./jquery.autosize.js",
"dependencies": {
"jquery": ">=1.7"
diff --git a/jquery.autosize-min.js b/jquery.autosize-min.js
index 335a2b6..518370c 100644
--- a/jquery.autosize-min.js
+++ b/jquery.autosize-min.js
@@ -1,7 +1,7 @@
/*!
- jQuery Autosize v1.16.13
+ jQuery Autosize v1.16.14
(c) 2013 Jack Moore - jacklmoore.com
- updated: 2013-06-04
+ updated: 2013-06-06
license: http://www.opensource.org/licenses/mit-license.php
*/
-(function(e){var t,o={className:"autosizejs",append:"",callback:!1},i="hidden",n="border-box",s="lineHeight",a='',r=["fontFamily","fontSize","fontWeight","fontStyle","letterSpacing","textTransform","wordSpacing","textIndent"],l="oninput",c="onpropertychange",h=e(a).data("autosize",!0)[0];h.style.lineHeight="99px","99px"===e(h).css(s)&&r.push(s),h.style.lineHeight="",e.fn.autosize=function(s){return s=e.extend({},o,s||{}),h.parentNode!==document.body&&e(document.body).append(h),this.each(function(){function o(){if(t=f,h.className=s.className,d=parseInt(w.css("maxHeight"),10),e.each(r,function(e,t){h.style[t]=w.css(t)}),l in f){var o=f.style.width;f.style.width="0px",f.offsetWidth,f.style.width=o}}function a(){var e,n,a;t!==f&&o(),h.value=f.value+s.append,h.style.overflowY=f.style.overflowY,a=parseInt(f.style.height,10),h.style.width=Math.max(w.width(),0)+"px",h.scrollTop=0,h.scrollTop=9e4,e=h.scrollTop,d&&e>d?(e=d,n="scroll"):p>e&&(e=p),e+=b,f.style.overflowY=n||i,a!==e&&(f.style.height=e+"px",x&&s.callback.call(f,f))}var p,d,u,f=this,w=e(f),b=0,x=e.isFunction(s.callback);w.data("autosize")||((w.css("box-sizing")===n||w.css("-moz-box-sizing")===n||w.css("-webkit-box-sizing")===n)&&(b=w.outerHeight()-w.height()),p=Math.max(parseInt(w.css("minHeight"),10)-b||0,w.height()),u="none"===w.css("resize")||"vertical"===w.css("resize")?"none":"horizontal",w.css({overflow:i,overflowY:i,wordWrap:"break-word",resize:u}).data("autosize",!0),c in f?l in f?f[l]=f.onkeyup=a:f[c]=function(){"value"===event.propertyName&&a()}:f[l]=a,e(window).on("resize",function(){active=!1,a()}),w.on("autosize",function(){active=!1,a()}),a())})}})(window.jQuery||window.Zepto);
\ No newline at end of file
+(function(t){var e,o={className:"autosizejs",append:"",callback:!1},n="hidden",i="border-box",s="lineHeight",a='',r=["fontFamily","fontSize","fontWeight","fontStyle","letterSpacing","textTransform","wordSpacing","textIndent"],l="oninput",c="onpropertychange",h=t(a).data("autosize",!0)[0];h.style.lineHeight="99px","99px"===t(h).css(s)&&r.push(s),h.style.lineHeight="",t.fn.autosize=function(s){return s=t.extend({},o,s||{}),h.parentNode!==document.body&&t(document.body).append(h),this.each(function(){function o(){if(e=w,h.className=s.className,d=parseInt(b.css("maxHeight"),10),t.each(r,function(t,e){h.style[e]=b.css(e)}),l in w){var o=w.style.width;w.style.width="0px",w.offsetWidth,w.style.width=o}}function a(){var t,i,a;e!==w&&o(),h.value=w.value+s.append,h.style.overflowY=w.style.overflowY,a=parseInt(w.style.height,10),h.style.width=Math.max(b.width(),0)+"px",h.scrollTop=0,h.scrollTop=9e4,t=h.scrollTop,d&&t>d?(t=d,i="scroll"):p>t&&(t=p),t+=f,w.style.overflowY=i||n,a!==t&&(w.style.height=t+"px",x&&s.callback.call(w,w))}var p,d,u,w=this,b=t(w),f=0,x=t.isFunction(s.callback);b.data("autosize")||((b.css("box-sizing")===i||b.css("-moz-box-sizing")===i||b.css("-webkit-box-sizing")===i)&&(f=b.outerHeight()-b.height()),p=Math.max(parseInt(b.css("minHeight"),10)-f||0,b.height()),u="none"===b.css("resize")||"vertical"===b.css("resize")?"none":"horizontal",b.css({overflow:n,overflowY:n,wordWrap:"break-word",resize:u}).data("autosize",!0),c in w?l in w?w[l]=w.onkeyup=a:w[c]=function(){"value"===event.propertyName&&a()}:w[l]=a,t(window).on("resize",function(){active=!1,a()}),b.on("autosize",function(){active=!1,a()}),a())})}})(window.jQuery||window.Zepto);
\ No newline at end of file
diff --git a/jquery.autosize.js b/jquery.autosize.js
index 8aa1964..d6ae988 100644
--- a/jquery.autosize.js
+++ b/jquery.autosize.js
@@ -1,9 +1,10 @@
-/*!
- jQuery Autosize v1.16.13
- (c) 2013 Jack Moore - jacklmoore.com
- updated: 2013-06-04
- license: http://www.opensource.org/licenses/mit-license.php
-*/
+/*!
+ jQuery Autosize v1.16.14
+ (c) 2013 Jack Moore - jacklmoore.com
+ updated: 2013-06-06
+ license: http://www.opensource.org/licenses/mit-license.php
+*/
+
(function ($) {
var
@@ -17,7 +18,7 @@
lineHeight = 'lineHeight',
// border:0 is unnecessary, but avoids a bug in FireFox on OSX
- copy = '',
+ copy = '',
// line-height is conditionally included because IE7/IE8/old Opera do not return the correct value.
copyStyle = [
diff --git a/readme.md b/readme.md
index 3927ede..c0ebfe2 100644
--- a/readme.md
+++ b/readme.md
@@ -4,6 +4,9 @@ Small jQuery plugin to allow dynamic resizing of textarea height, so that it gro
## Changelog
+### v1.16.14 - 2013/6/6
+* Fixed an issue with autosize working poorly if the mirror element has a transition applied to it's width.
+
### v1.16.13 - 2013/6/4
* Fixed a Chrome cursor position issue introduced with the reflow workaround added in 1.16.10.