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>
This commit is contained in:
William Casarin
2024-02-01 10:44:31 -08:00
parent 48e8c11929
commit 9735a28b44

View File

@@ -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
}