Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Virtual Keyboard API] Return promise for Show/Hide calls? #415

Closed
snianu opened this issue Nov 20, 2020 · 2 comments
Closed

[Virtual Keyboard API] Return promise for Show/Hide calls? #415

snianu opened this issue Nov 20, 2020 · 2 comments
Assignees

Comments

@snianu
Copy link
Member

snianu commented Nov 20, 2020

In the TPAC VK API session, there were comments about returning a promise when show/hide is called so the web author knows if the call was successful or not. There are also platform specific restrictions that prevent the VK to come up even after app calls show explicitly to raise the VK. Not sure if we can deterministically determine if the show/hide call was successful, but should we return a promise indicating that the call was successful? Also if there was an error (e.g. no user activation or no editable element in focus?) then what is the author supposed to do in that case?

@snianu
Copy link
Member Author

snianu commented Nov 28, 2020

Tagging few folks to comment on this issue. @whsieh @rniwa @othermaciej @mustaqahmed

@travisleithead
Copy link
Contributor

This has been copied into the Editing WG issues list as https://github.com/w3c/editing/issues/324

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants