/* -*- Mode: javascript; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ (function() { 'use strict'; /** * sgAutogrow - A directive to conditionally grow a textarea depending on its content. * This directive is an alternative to the autogrow feature of the md-input component. * It fixes the scroll jumping issue described in #3070. * * - https://github.com/angular/material/issues/3070 * - https://material.angularjs.org/latest/api/directive/mdInput * * The drawback of this directive is that it requires to set md-no-autogrow. * @memberof SOGo.Common * @ngInject * @example: