diff --git a/core/src/components/textarea/textarea.ionic.scss b/core/src/components/textarea/textarea.ionic.scss index a24b054325..dc1cb16bdc 100644 --- a/core/src/components/textarea/textarea.ionic.scss +++ b/core/src/components/textarea/textarea.ionic.scss @@ -84,13 +84,13 @@ // ---------------------------------------------------------------- // The height should be auto only when auto-grow is enabled. -:host([auto-grow]) .textarea-wrapper-inner { +:host([auto-grow=true]) .textarea-wrapper-inner { height: auto; } // The min and max height should be inherited if auto-grow is enabled. // This allows the textarea to grow and shrink as needed. -:host([auto-grow]) .native-wrapper { +:host([auto-grow=true]) .native-wrapper { min-height: inherit; max-height: inherit; }