From 9735a28b445b04bfc8cd820417621de9fa5e906d Mon Sep 17 00:00:00 2001 From: William Casarin Date: Thu, 1 Feb 2024 10:44:31 -0800 Subject: [PATCH] mention: add note about text suggestion mention inteference Also doing this so I can add a changelog entry Changelog-Changed: Disable inline text suggestions on 17.0 as they interfere with mention generation Signed-off-by: William Casarin --- damus/Views/TextViewWrapper.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/damus/Views/TextViewWrapper.swift b/damus/Views/TextViewWrapper.swift index c3ea615f..c3e87191 100644 --- a/damus/Views/TextViewWrapper.swift +++ b/damus/Views/TextViewWrapper.swift @@ -28,6 +28,7 @@ struct TextViewWrapper: UIViewRepresentable { textView.setContentCompressionResistancePriority(.defaultLow, for: .horizontal) textView.setContentCompressionResistancePriority(.required, for: .vertical) + // Inline text suggestions interfere with mentions generation if #available(iOS 17.0, *) { textView.inlinePredictionType = .no }