Prevent keyboard from popping on textbox focus/click in iPad webapps

后端 未结 7 1217
孤街浪徒
孤街浪徒 2021-02-08 10:36

I am trying to create a custom keyboard on an iPad application. But each time the input get the focus, the native iPad keyboard pops up. How can I prevent this, in JavaScript.

相关标签:
7条回答
  • 2021-02-08 11:07

    position an absolute div with a z-index:1 on top of the text input field, and attach an onclick handler to the div that launches the keypad.

    Next step would be to attach the keypad numbers to affect the value of the text field.

    0 讨论(0)
提交回复
热议问题