angular-elastic
angular-elastic copied to clipboard
[DEPRECATED] Elastic (autosize) textareas for AngularJS, without jQuery dependency.
This PR uses the angularjs wrapper $document instead of the default document for appending the mirror to the DOM. This simplifies the mocking e.g. for testing.
Firefox 60+ needs hidden elements to exclude them in site search. Otherwise, seeking next term occurrence jumps scroll to the top. This seems to be a FF bug.
It was very useful to me in my chat application, where the size of the rest of the page was relative to the size of the textarea's input. So I've...
just wrap max-height computation with $timeout
We're dealing with a lot of legacy code. The main problem is that the directive didn't properly adjust when we used it. This was caused by aside-from-angular dom-mutations. The `textarea`...
When the directive is used in a Modal Window, angular-material md-dialog or ui-bootstrap modal dialog, the textarea is already present without a value, due to which the height, border calculated...
This little commit adds new behavior: resize textarea both based on its value OR (if value is empty) from placeholder.
I didn't find any information on how to handle animation in the README. I first looked at an option on your directive, but just noticed it was pure CSS. This...
When "elastic:resize" event is finished with defaultPrevented flag true then resize doesn't happen