padolsey/jQuery.fn.autoResize — Issue #46: Demo shows the css change in a textarea even without resize
Author: baloneysandwiches
Created: 2012-02-03 00:06:58+00:00
State: open

First, this is cool, thanks.

I'm looking at the demo page in Chrome 16. I mouse in the textarea, type one word, then hit return, and I get the flash of red background even though the textarea has not actually resized. I really like the onBeforeResize and onAfterResize callback idea, but it seems like the logic should be restructured so that we can use these nice callbacks in a way that isn't just wildly distracting to the user.

In other words, if the user is typing a series of lines in a list, in a medium-sized list, let's not dazzle him with css changes when he hasn't even max'ed out the available area yet.

Hope this helps…