Skip to content

Commit 67cca09

Browse files
Merge pull request mui#1720 from NatalieT/ipad-fix
[TextField fix ipad enhanced textarea
2 parents 5821f0a + dfb0acb commit 67cca09

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/enhanced-textarea.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,11 @@ const styles = {
1919
// Overflow also needed to here to remove the extra row
2020
// added to textareas in Firefox.
2121
overflow: 'hidden',
22+
// Visibility needed to hide the extra text area on ipads
23+
visibility: 'hidden',
2224
font: 'inherit',
2325
padding: 0,
2426
position: 'absolute',
25-
opacity: 0,
2627
},
2728
};
2829

0 commit comments

Comments
 (0)