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:
@@ -28,6 +28,7 @@ struct TextViewWrapper: UIViewRepresentable {
|
|||||||
textView.setContentCompressionResistancePriority(.defaultLow, for: .horizontal)
|
textView.setContentCompressionResistancePriority(.defaultLow, for: .horizontal)
|
||||||
textView.setContentCompressionResistancePriority(.required, for: .vertical)
|
textView.setContentCompressionResistancePriority(.required, for: .vertical)
|
||||||
|
|
||||||
|
// Inline text suggestions interfere with mentions generation
|
||||||
if #available(iOS 17.0, *) {
|
if #available(iOS 17.0, *) {
|
||||||
textView.inlinePredictionType = .no
|
textView.inlinePredictionType = .no
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user