How to disable autocorrect in HTML input on Android?

后端 未结 3 800
灰色年华
灰色年华 2021-02-12 17:50

I can not disable autocorrect of text input in web browser on Android.

I tried this:



        
3条回答
  •  故里飘歌
    2021-02-12 17:59

    Currently autosuggest="off" does not work. I reported a ticket for it, so you can vote.

    Steps to reproduce the problem:

    1. Open https://output.jsbin.com/qacoforama/3?output in mobile Chrome.

    
    
    
      
      Chrome Android autocorrect
      
    
    
    
      

    Android keyboard shows suggestions on typing

    when autocorrect="off"

    Tested in Chrome 70.0.3538.80

    1. Try to type something in the input field
    2. You will see keyboard suggestions

    What is the expected behavior? You should not see any suggestions, because "autocorrect" attribute on input field set at "off"

    What went wrong? One picture with suggestions is Chrome, and another one without suggestions is Safari

    Did this work before? Yes It initially started to work in Chrome 38, can't say about other versions and when it became broken

    Does this work in other browsers? No 1) Mobile Safari There is no such problem in mobile Safari. The keyboard does not provide any suggestions when autocorrect="off" 2) Mobile Firefox The same problem as in Chrome: autocorrect="off" does not work, so one can see some suggested words

    Chrome version: 70.0.3538.80 Channel: stable OS Version: 7.0 Flash Version:

    There is an old issue where the same problem was described https://bugs.chromium.org/p/chromium/issues/detail?id=303883.

    As a result the issue was resolved and autocorrect="off" was honored. But at some moment it was broken and still does not work.

    https://bugs.chromium.org/p/chromium/issues/detail?id=901839

提交回复
热议问题