When I type text that is longer than the width of this input field, the text wraps as expected but the height of the box doesn't expand immediately to show me all of the text. I can see the line that I'm typing but not line above it until I type a couple of words on the wrapped line. Then the height of the box expands so I can see all of the lines of text.
http://bgrins.github.com/ExpandingTextareas/
I may need to get an update of the expanding routine. Please click on the embedded link to see if their demos work ok on Android.
Ok. I tried that. It works well.
Ok, I'll download a new version and if it still doesn't work then there's something wrong with my implementation (though I'm using it straight out of the box). Could be a conflict somewhere I guess or maybe I have to initialize something differently.
And thanks for testing that for me. Don't have an Android here.
https://github.com/bgrins/ExpandingTextareas
Ok, have installed a fresh copy from the embedded source. Hope it works as well as their demo page.
https://github.com/bgrins/ExpandingTextareas#styling
If it still doesn't work, my conflict may be here (embedded link). I don't think I did any styling on the "clone," but definitely do have on the input fields that expand applies to.
Found a conflict--an error on a css defining white-space: wrap on textarea, Removed it. Also a superfluous copy of the expanding css in my code. Probably left over from when I was originally testing it. Have removed it. Hope one or the other of these corrections fixes the ptroblem.
Oops, found another error. I think it's some kind of binding error, that comes in after inserting the form div into the DOM (stuff that I'm just learning about). The error appears after loading a form by clicking on "Comment." I'd noticed that before and decided to look into it "later" and later never got here. Forgot about it. Until now.
test one, two, three. fill this dog gone entry field up with text to see if it expands automagically. Woo hoo!! it does!!
Finally figured out how to apply the expanding plugin after inserting a form: $(".expanding").expandingTextarea();
Plugged it into the live program after very little testing. Hope it doesn't break something else.
Installed my new loading form technique into the post and comment editing forms so the expanding features will work there, too. Drawback is it takes a bit longer to load the forms due to having to execute the expanding plug-in feature. It's usually only called during initial page load. Hoping everything works out okay.
Will need to tackle the ajax busy indicator project (a spinning "busy" icon) but don't want to tackle it today.
John reminded me of a better solution for loading forms that will be faster, but I'll have to develop some new routines and rip out the old. Will be faster and cleaner (programming-wise) than my current routines, so will be better and worth it for the long haul.