From e38a2c82e1411ccfc8793e5b95f66d9ac4b33c6a Mon Sep 17 00:00:00 2001 From: Robert Messerle Date: Mon, 3 Aug 2015 14:16:32 -0700 Subject: [PATCH] fix(input): textarea with rows provided will no longer throw an error --- src/components/input/input.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/input/input.js b/src/components/input/input.js index d3e8c646d76..296b3597532 100644 --- a/src/components/input/input.js +++ b/src/components/input/input.js @@ -291,7 +291,7 @@ function inputTextareaDirective($mdUtil, $window, $mdAria) { if(!lineHeight) { node.style.minHeight = '0'; - lineHeight = element.height(); + lineHeight = element.prop('clientHeight'); node.style.minHeight = null; }