commit 9735a28b445b04bfc8cd820417621de9fa5e906d
parent 48e8c11929be844c798ec56e627009361c8166f0
Author: William Casarin <jb55@jb55.com>
Date: Thu, 1 Feb 2024 10:44:31 -0800
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 <jb55@jb55.com>
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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
}