Plugins

The plugins site is currently in development.

We've been looking to provide a higher-quality, spam-free experience at the plugins site for some time, and a major error on our part forced us to shut down the current site before we could put the new one in place. We are developing a new site, and you can follow along with its development on GitHub. For more information about this transition, including steps you can take as a plugin author to prepare, please read our post about what's going on.

For thoose who got issues in IE or Safari or Chrome


Project:Auto Growing Textareas
Version:1.2.2
Component:Code
Category:task
Priority:critical
Assigned:vassily
Status:active
Description

change this line in the code :

if(this.line_height == Nan)
this.line_height = 0;

that doesn't work with :

if(!this.line_height)
this.line_height = 18;

I put 18 instead of 0 because Front height is more often 16 , 1è or 18 than 0 !
The test also changes, now this.line_height always exist and won't bug in the code later.

also put :
'padding-top' : this.textarea.css('padding-top'),
'padding-bottom' : this.textarea.css('padding-bottom'),
'padding-left' : this.textarea.css('padding-left'),
'padding-right' : this.textarea.css('padding-right'),

instead of
'padding' : this.textarea.css('padding'),

cause padding is unknow in IE or Chrome...

thanks for the plugin anyway

David