mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 00:27:41 +08:00
fix(textarea): scrollbars are visible with overflow (#26284)
Resolves #26278
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user