bgrins / ExpandingTextareas

jQuery plugin for elegant expanding textareas
http://bgrins.github.com/ExpandingTextareas/
MIT License
260 stars 73 forks source link

problem if textarea is invisible by default ... #32

Closed armandoxxx closed 10 years ago

armandoxxx commented 11 years ago

I have a problem with attaching expandingTextarea plugin to hidden (display:none) textarea .. I have a button that triggers textarea visiblity... any clues how to fix this?

regards

Armando

armandoxxx commented 11 years ago

the problem is that DIV space is avalable and when textarea is shown ... no textarea becomes visible .. nothing actually happens ...

bgrins commented 10 years ago

Sorry for missing this originally. The code has just been updated quite a bit with #38, and I'm wondering if this is still an issue for you.

bgrins commented 10 years ago

@domchristie has resolved this in #41. You will need to wait until the textarea is visible before calling .expanding.