From b0e342c8688fb6c12ab39cded5169f097edfbd9b Mon Sep 17 00:00:00 2001 From: Terry Yiu <963907+tyiu@users.noreply.github.com> Date: Sat, 1 Jun 2024 23:26:35 -0400 Subject: [PATCH] Disable search autocapitalization and autocorrection --- Sources/EmojiPicker/EmojiPickerView.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sources/EmojiPicker/EmojiPickerView.swift b/Sources/EmojiPicker/EmojiPickerView.swift index e2cebf3..2279782 100644 --- a/Sources/EmojiPicker/EmojiPickerView.swift +++ b/Sources/EmojiPicker/EmojiPickerView.swift @@ -64,6 +64,8 @@ public struct EmojiPickerView: View { } .frame(maxHeight: .infinity) .searchable(text: $search) + .textInputAutocapitalization(.never) + .autocorrectionDisabled() } }