# Ionic 2 Elastic chat

**URL:** <https://forum.ionicframework.com/t/ionic-2-elastic-chat/65496>\
**Category:** ionic-v3\
**Created:** [October 3, 2016, 5:57am UTC](https://forum.ionicframework.com/t/ionic-2-elastic-chat/65496 "2016-10-03T05:57:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![robarada](https://avatars.discourse-cdn.com/v4/letter/r/b2d939/32.png) [@robarada](https://forum.ionicframework.com/u/robarada)\
**Post date:** [October 3, 2016, 5:57am UTC](https://forum.ionicframework.com/t/ionic-2-elastic-chat/65496/1 "2016-10-03T05:57:38Z")

</div>

I am wondering if anyone has come up with a clean solution or example for an Ionic 2 Elastic Chat similar to this one here: [https://codepen.io/rossmartin/pen/XJmpQr](https://codepen.io/rossmartin/pen/XJmpQr).

I saw the discussion on this thread here: [Elastic ion-textarea](https://forum.ionicframework.com/t/elastic-ion-textarea/55671/4) but it seems the textarea solution here only increases the height on new lines without decreasing it if the user deletes a line.

If anyone has any examples or directives they have created for this it would be appreciated, thanks.
