Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kuwabarahiroshi committed Aug 4, 2012
1 parent cf1d130 commit 9493a9a
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,18 @@ http://jsfiddle.net/kuwabarahiroshi/7CsFR/
Advanced plugin on this feature is found here:
http://www.technoreply.com/autogrow-textarea-plugin-version-2-0/

However, the plugin is bad at multibyte character.
However, the plugin is not so good at multibyte character.
I, as a Japanese, thought it could be enhanced with using `setInterval()` and `.scrollHeight` to detect textarea height.

**Misc**

IE6-8 has a bug on `.scrollHeight` as described here:
http://www.atalasoft.com/cs/blogs/davidcilley/files/IETextAreaBug.html
* IE6-8 has a bug on `.scrollHeight` as described here:
http://www.atalasoft.com/cs/blogs/davidcilley/files/IETextAreaBug.html
This plugin copes well with this bug.

This plugin copes with this bug.

Padding height of a textarea is included in `.scrollHeight` on IE, Webkit, Opera, but excluded on FireFox.
This plugin is perfectly cross-browser compatible.
Compatibility is realized with feature detection not with browser detection.
* Padding height of a textarea is included in `.scrollHeight` on IE, Webkit, Opera, but excluded on FireFox.
This plugin is perfectly cross-browser compatible.
Compatibility is realized with feature detection not with browser detection.

**Tested**

Expand Down

0 comments on commit 9493a9a

Please sign in to comment.