1

VirtualKeyboard API is deprecated in mobile chrome.

but i need floating virtual keyboard over html element.

how can i implement this javascript or html or css in chrome?

navigator.virtualKeyboard.overlaysContent = true // i want below code but deprecated.
asked Jul 4, 2022 at 10:44
3
  • Would you mind being more precise in your question? What exactly do you want to achieve, and in which situation? For example, why is the native on-screen keyboard not enough for your situation? Commented Jul 4, 2022 at 10:56
  • @Andy For my app, I want to make toggleable custom virtual keyboard(for emoticon) and default virtual keyboard if click button. But when i implent it, notice it, Unless floating default virtual keyboard, toggle process is not smothly(1. default virtual keyboard -> 2. click toggle button -> 3. default virtual keyboard hidden -> 4. custom virtual keyboard displayed(but here awkward because this process scroll move)) but i think if both virtual keyboard displayed same time and same height(overlay) when focus input element and when toggle just removed only default virtual keyboard it be natural Commented Jul 4, 2022 at 11:19
  • If you have a working code, please try to create a Minimum Reproducible Example in your question. Place the two buttons etc. Commented Jul 4, 2022 at 12:10

0

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.