{"id":17291203,"url":"https://github.com/ali-master/ios-password-field-crashes","last_synced_at":"2026-01-06T12:35:40.095Z","repository":{"id":87939128,"uuid":"330611663","full_name":"ali-master/ios-password-field-crashes","owner":"ali-master","description":"IOS 14 Keychain bug that crashes App when clicking on Password fields","archived":false,"fork":false,"pushed_at":"2021-01-18T11:55:51.000Z","size":233,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T00:26:31.603Z","etag":null,"topics":["frontend","input-password","ios","password-field","pwa","web"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ali-master.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-18T09:11:10.000Z","updated_at":"2021-07-22T15:49:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"a95ca70b-8ec9-4b68-ae16-d488eca5e01a","html_url":"https://github.com/ali-master/ios-password-field-crashes","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ali-master%2Fios-password-field-crashes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ali-master%2Fios-password-field-crashes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ali-master%2Fios-password-field-crashes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ali-master%2Fios-password-field-crashes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ali-master","download_url":"https://codeload.github.com/ali-master/ios-password-field-crashes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245717870,"owners_count":20661150,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["frontend","input-password","ios","password-field","pwa","web"],"created_at":"2024-10-15T10:40:21.349Z","updated_at":"2026-01-06T12:35:40.064Z","avatar_url":"https://github.com/ali-master.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# IOS 14 Keychain bug that crashes App when clicking on Password fields\n\nSince Apple released the IOS v14, The Safari browser in all IOS devices have a problem with the Input type's `password` which the application crashes when you click on the Password Input.\nThe problem is The `Keychain` has a critical problem and wants to autofill a user match but will crashes while loading the matches, So I tried so many ways to fix this issue, and I found these solutions:\n1. Try to use [`dotsfont`](https://github.com/kylewelsby/dotsfont) by [Kyle Welsby](https://github.com/kylewelsby)\n    \n    Usage:\n    ```css\n    @font-face {\n      font-family: 'dotsfont';\n      src: url('dotsfont.eot');\n      src: url('dotsfont.eot?#iefix') format('embedded-opentype'),\n           url('dotsfont.woff') format('woff'),\n           url('dotsfont.ttf') format('truetype'),\n           url('dotsfont.svg#dotsfontregular') format('svg');\n    }\n    \n    .conceal{\n      font-family: 'dotsfont';\n    }\n    ```\n    And Check if the Safari Version is Greater than 14 or not, If yes, then the Type attribute of Password Fields should be replaced by `text` and then add the `conceal` class to the Input, if not then the Password filed's type should be `password`. I wrote a few [examples](https://github.com/ali-master/ios-password-field-crashes/tree/master/examples) in `React`, `Pure javascript`, and `jQuery`. \n2. To disable the Keychain `autofill` crashes bug, Add the `autocomplete=\"off\"` attribute to the Password fields. It works just in some cases(I don't know why!!!). \n3. Disable the Keychain `Autofill` feature. Follow the instruction:\n\u003cdiv align=\"center\"\u003e\n\t\u003cp align=\"center\"\u003e\n\t\t\u003cimg src=\"https://raw.githubusercontent.com/ali-master/ios-password-field-crashes/master/images/disable-ios14-autofill.jpg\" border=\"0\" /\u003e\n\t\u003c/p\u003e\n\u003c/div\u003e\nNow, Your iPhone has no crash issue with all Password fields on all websites. This solution is not the best solution but it works.\n\n### Fix the problem in:\n1. `Login pages`: In these types of pages, there is no issue because the Keychain can find a matching item by the `username` and `password` fields while you did the 2nd solution before.\n2. `Other Pages`: In other pages that contain `password` fields, you should do the 1st solution. and follow the [examples](https://github.com/ali-master/ios-password-field-crashes/tree/master/examples) folder.\n\n\nIf you have any other solution, please contribute to this repo to tell other programmers how they can fix this huge problem.\n\nThe examples folder is not completed yet, I appreciate if you create a Pull Request to add more examples in other Frontend libraries such as Vue, Angularjs, Angular, Polymer, ...\n\nHope the Apple fix this problem soon.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fali-master%2Fios-password-field-crashes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fali-master%2Fios-password-field-crashes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fali-master%2Fios-password-field-crashes/lists"}