evyros / angularjs-autogrow

AngularJS 1.x directive for auto-grow / auto-resize of textarea elements.
16 stars 15 forks source link

Grow Up? (Catchy Title :-) #5

Open tomercagan opened 7 years ago

tomercagan commented 7 years ago

Hi,

Cool component. I am able to use it on a "regular" scenario but - I have a chat page, similar to how WhatsApp looks in which the text area is at the bottom and I want it to expand upwards and not downwards.

Is there a way to do it?

I've seen this example that does so but I am not able to get it to work within my angular app :-(

Thanks!

evyros commented 7 years ago

@tomercagan awesome feature! I'll be working on it. I'll update here when I'm done. Thanks!

tomercagan commented 7 years ago

@CodingAspect - thanks, looking forward to it :-)

BTW, two examples:

I thought to try make a directive based on one of them but didn't get around to it and it seems this directive is popular/well maintained and it would be a nice addition to it...