mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2025-01-10 21:54:10 +01:00
Fix text field bottom padding in EditorView (#1570)
This commit is contained in:
parent
5b0f10f0a2
commit
3853eff065
@ -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 New Issue
Block a user