From 86251703e4a6f74c155f247d8bee25cf3718e5c3 Mon Sep 17 00:00:00 2001 From: scrpgil Date: Wed, 12 Jun 2019 01:56:17 +0900 Subject: [PATCH 1/2] fix(textarea): not working wrap="off" --- core/src/components/textarea/textarea.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/components/textarea/textarea.scss b/core/src/components/textarea/textarea.scss index 7f7cffa1308..718b69474f7 100644 --- a/core/src/components/textarea/textarea.scss +++ b/core/src/components/textarea/textarea.scss @@ -42,6 +42,8 @@ font-family: $font-family-base; + white-space: pre-wrap; + z-index: $z-index-item-input; } @@ -89,8 +91,6 @@ resize: none; appearance: none; - white-space: pre-wrap; - &::placeholder { color: var(--placeholder-color); @@ -120,4 +120,4 @@ position: absolute; pointer-events: none; -} \ No newline at end of file +} From e434af1eb1667ad1092b93155c66e1a76065d15f Mon Sep 17 00:00:00 2001 From: Brandy Carney Date: Tue, 11 Jun 2019 14:29:55 -0400 Subject: [PATCH 2/2] test(textarea): add nowrap example to test --- .../textarea/test/standalone/index.html | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/core/src/components/textarea/test/standalone/index.html b/core/src/components/textarea/test/standalone/index.html index 751d94bf148..8923dce0085 100644 --- a/core/src/components/textarea/test/standalone/index.html +++ b/core/src/components/textarea/test/standalone/index.html @@ -16,6 +16,7 @@ + + +