File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ private struct MainSection: View {
127127 . autocapitalization ( . none)
128128 . disableAutocorrection ( true )
129129 }
130- . frame ( minHeight: 25 )
130+ . frame ( minHeight: 60 )
131131 . padding ( . horizontal, 4 )
132132 . background ( Color . init ( id: " input.background " ) )
133133 . cornerRadius ( 10 )
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ struct TextEditorWithPlaceholder: View {
2222 ZStack {
2323 if text. isEmpty {
2424 TextEditor ( text: $placeholder)
25+ . scrollContentBackground ( . hidden)
2526 . foregroundColor ( . gray)
2627 . disabled ( true )
2728 . if ( customFont != nil ) {
@@ -30,6 +31,7 @@ struct TextEditorWithPlaceholder: View {
3031 }
3132
3233 TextEditor ( text: $text)
34+ . scrollContentBackground ( . hidden)
3335 . autocapitalization ( . none)
3436 . disableAutocorrection ( true )
3537 . if ( customFont != nil ) {
You can’t perform that action at this time.
0 commit comments