feat: Allow autocorrect in address bars - #2022
Conversation
|
Please sign our contributor license agreement at https://cla.futo.org |
|
Please sign our contributor license agreement at https://cla.futo.org |
Signed. |
|
Autocorrect being disabled in address bars is an intentional decision because it would unexpectedly modify the URL and you would have to fight the keyboard in many cases when editing URLs. For example maybe someone wants to go to google.com, but "google" isn't part of their dictionary and it gets autocorrected to goggle when they hit period. They may not notice the autocorrection and get phished, or land on some very bad site. The autocorrect model can especially make some funny corrections to things like domain names currently. Making it an optional toggle mitigates the risk somewhat but I don't think there's much sense in having options that are just footguns. IMO it's better to just make use of the suggestion bar, or let the search engine do the correction |
This pull request adds a new optional toggle to allow autocorrect to work in address bars (web browser URL and email address fields). This is disabled by default.
This is a feature in some keyboards such as SwiftKey. I find it useful for when I am trying to make a search in a web browser's URL field. Not sure if it is particularly useful for email address fields, but I also made it autocorrect for those fields too. Maybe that can be removed if some people find it to be unsuitable.
Closes #1614