Skip to content

Conversation

@bhollis
Copy link

@bhollis bhollis commented Jan 20, 2024

Safari on macOS and iOS will rather aggressively auto-correct text in input fields if it believes the text has been misspelled. Unfortunately its default dictionary does not contain the wide variety of Star Wars names and terms and often autocorrects them to other words, which makes it tough to search SWDestinyDB (especially on mobile).

This change disables autocorrect on card search textboxes using the following attributes:

  • spellcheck to disable spell check underlines
  • autocapitalize because the search is already case-insensitive.
  • autocorrect a nonstandard Safari-only option that disables inline autocorrect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant