From fa1487df1639836b3235d171cb15e93ed1b7d946 Mon Sep 17 00:00:00 2001 From: Justin Mazzocchi <2831158+jzzocc@users.noreply.github.com> Date: Sat, 24 Oct 2020 23:45:45 -0700 Subject: [PATCH] Disable editing fallthrough text field --- Views/TouchFallthroughTextView.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Views/TouchFallthroughTextView.swift b/Views/TouchFallthroughTextView.swift index 8c62af5..9d7bbf8 100644 --- a/Views/TouchFallthroughTextView.swift +++ b/Views/TouchFallthroughTextView.swift @@ -12,6 +12,7 @@ final class TouchFallthroughTextView: UITextView { clipsToBounds = false textDragInteraction?.isEnabled = false + isEditable = false textContainerInset = .zero self.textContainer.lineFragmentPadding = 0 linkTextAttributes = [.foregroundColor: tintColor as Any, .underlineColor: UIColor.clear]