Giter Club home page Giter Club logo

ios-password-field-crashes's Introduction

IOS 14 Keychain bug that crashes App when clicking on Password fields

Since 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. The 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:

  1. Try to use dotsfont by Kyle Welsby

    Usage:

    @font-face {
      font-family: 'dotsfont';
      src: url('dotsfont.eot');
      src: url('dotsfont.eot?#iefix') format('embedded-opentype'),
           url('dotsfont.woff') format('woff'),
           url('dotsfont.ttf') format('truetype'),
           url('dotsfont.svg#dotsfontregular') format('svg');
    }
    
    .conceal{
      font-family: 'dotsfont';
    }

    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 in React, Pure javascript, and jQuery.

  2. 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!!!).

  3. Disable the Keychain Autofill feature. Follow the instruction:

Now, Your iPhone has no crash issue with all Password fields on all websites. This solution is not the best solution but it works.

Fix the problem in:

  1. 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.
  2. Other Pages: In other pages that contain password fields, you should do the 1st solution. and follow the examples folder.

If you have any other solution, please contribute to this repo to tell other programmers how they can fix this huge problem.

The 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, ...

Hope the Apple fix this problem soon.

ios-password-field-crashes's People

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.