mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2025-09-03 16:33:48 +00:00
Fix text field bottom padding in EditorView (#1570)
This commit is contained in:
parent
5b0f10f0a2
commit
3853eff065
1 changed files with 4 additions and 1 deletions
|
@ -66,7 +66,10 @@ public struct StatusEditorView: View {
|
||||||
}
|
}
|
||||||
.padding(.top, 8)
|
.padding(.top, 8)
|
||||||
.padding(.bottom, 40)
|
.padding(.bottom, 40)
|
||||||
}.accessibilitySortPriority(1) // Ensure that all elements inside the `ScrollView` occur earlier than the accessory views
|
}
|
||||||
|
.accessibilitySortPriority(1) // Ensure that all elements inside the `ScrollView` occur earlier than the accessory views
|
||||||
|
.padding(.top, 1) // hacky fix for weird SwiftUI scrollView bug when adding padding
|
||||||
|
.padding(.bottom, 48)
|
||||||
VStack(alignment: .leading, spacing: 0) {
|
VStack(alignment: .leading, spacing: 0) {
|
||||||
StatusEditorAutoCompleteView(viewModel: viewModel)
|
StatusEditorAutoCompleteView(viewModel: viewModel)
|
||||||
StatusEditorAccessoryView(isSpoilerTextFocused: $isSpoilerTextFocused,
|
StatusEditorAccessoryView(isSpoilerTextFocused: $isSpoilerTextFocused,
|
||||||
|
|
Loading…
Reference in a new issue