KEMBAR78
GitHub · Where software is built
Skip to content

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

@snianu

Description

@snianu

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?

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions