search

Home  >  Q&A  >  body text

javascript - js password keyboard, is there a way to block the system keyboard and gain focus?

Now I have made a password keyboard. Although the system keyboard can be blocked from popping up, the focus disappears, so the password cannot be deleted from the cursor position.
Everyone, is there a more perfect solution? ? ?
This method is used to shield the keyboard


    document.activeElement.blur()
过去多啦不再A梦过去多啦不再A梦2817 days ago619

reply all(1)I'll reply

  • 淡淡烟草味

    淡淡烟草味2017-05-18 10:49:34

    As per the title, I understand that what you want to do is to customize an input interface.

    If you want to customize an input interface, it doesn’t matter whether it is selected or not. Even if it is a p, just give it a click event and you can expand your custom input interface (I have done one like this)

    If you don’t want to customize the interface, but also want to get the focus of the input box, I don’t understand your approach

    reply
    0
  • Cancelreply