We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
UKTextInput
1 parent a7b57ee commit ca0ee89Copy full SHA for ca0ee89
Sources/ComponentsKit/Components/TextInput/UKTextInput.swift
@@ -205,8 +205,11 @@ extension UKTextInput {
205
}
206
207
static func textView(_ textView: UITextView, padding: CGFloat) {
208
- textView.textContainerInset = .init(inset: padding)
209
textView.textContainer.lineFragmentPadding = 0
+ textView.textContainerInset.top = padding
210
+ textView.textContainerInset.left = padding
211
+ textView.textContainerInset.right = padding
212
+ textView.textContainerInset.bottom = padding
213
214
215
static func placeholder(
0 commit comments