jquery/jquery-mobile — Issue #3298: TextArea autogrow isn't variable
Author: ricklein
Created: 2011-12-18 01:19:26+00:00
State: open

I'm working on an app with TextAreas of varying sizes, as well as different font-sizes. We love the auto-growing feature, but we'd like to be able to control how much it grows each time. It's default can remain the same (15) but if we could give the text area a value to grow by, ( or have it variable to the font size) then it would give us better control over the growth. As it stands now with content at a 12px font size when it autogrows it pushes our submit button that is immediately below the textarea out of view because it adds 2 rows instead of 1. This makes the user have to scroll to hit the submit button. Should be an easy fix, I will try to implement it myself