fix(textarea): scrollbars are visible with overflow (#26284)

Resolves #26278
This commit is contained in:
Sean Perkins
2022-11-15 15:04:16 -05:00
committed by GitHub
parent 476e3a50e5
commit 7a990ff403

View File

@ -124,8 +124,6 @@
resize: none;
appearance: none;
overflow: hidden;
&::placeholder {
@include padding(0);
@ -168,7 +166,7 @@
opacity: 1;
}
:host([auto-grow]) .cloned-input {
:host([auto-grow="true"]) .cloned-input {
// Workaround for webkit rendering issue with scroll assist.
// When cloning the textarea and scrolling into view,
// a white box is rendered from the difference in height
@ -191,3 +189,7 @@
opacity: 1;
}
:host([auto-grow="true"]) .native-textarea {
overflow: hidden;
}