From 0f805d7ea7e7dcf6ce5caeda593ceb3cc6ac6558 Mon Sep 17 00:00:00 2001 From: gladiusKatana Date: Tue, 9 May 2023 18:31:45 -0400 Subject: [PATCH] override .isScrollEnabled in TextViewWrapper (ie, set to false at UITextView creation) --- damus/Views/TextViewWrapper.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/damus/Views/TextViewWrapper.swift b/damus/Views/TextViewWrapper.swift index 41d4c7c8..0080b982 100644 --- a/damus/Views/TextViewWrapper.swift +++ b/damus/Views/TextViewWrapper.swift @@ -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