override .isScrollEnabled in TextViewWrapper (ie, set to false at UITextView creation)
This commit is contained in:
1 parent
52ca33ef6a
commit
0f805d7ea7
1 file changed
+1
@@ -15,6 +15,7 @@ struct TextViewWrapper: UIViewRepresentable {
|
||||
func makeUIView(context: Context) -> UITextView {
|
||||
let textView = UITextView()
|
||||
textView.delegate = context.coordinator
|
||||
textView.isScrollEnabled = false
|
||||
textView.showsVerticalScrollIndicator = false
|
||||
TextViewWrapper.setTextProperties(textView)
|
||||
return textView
|
||||
|
||||
Reference in new issue
Block a user