Skip to content

Commit

Permalink
fix: iOS constantly tries to add spacing or spellcheck which leads to…
Browse files Browse the repository at this point in the history
… poor UX
  • Loading branch information
JamesIves committed Jan 2, 2025
1 parent b1f5b1e commit 2567ab5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/components/search/search.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
class="block w-full min-w-0 flex-1 rounded-none rounded-r-md border-gray-300 px-3 py-2 focus:border-indigo-500 focus:ring-indigo-500 sm:text-sm"
[placeholder]="subRedditName$ | async"
(keydown)="preventSpace($event)"
autocomplete="off"
autocorrect="off"
spellcheck="false"
/>
</div>
</div>
Expand Down

0 comments on commit 2567ab5

Please sign in to comment.