Forum Discussion
amtsamy
4 years agoExplorer
Layout keyboard keep popping up after trying to hide it
I get this behaviour when i try to implement the overlay keyboard iniside oculus quest, any help will be appreciated.
2 Replies
Replies have been turned off for this discussion
- Anonymous
I think the keyboard shows up whenever an input field has focus, so when you close the keyboard and the input field still has focus it gets re-summoned. You might need something like this:
private void OnEnable() { OVRManager.InputFocusAcquired += DeactivateInputField; } private void OnDisable() { OVRManager.InputFocusAcquired -= DeactivateInputField; } private void DeactivateInputField() { if (inputField.isFocused) { inputField.DeactivateInputField(); } }- amtsamyExplorer
So in this video the keyboard is opened programmatically using TouchScreenKeyboard.Open(), when i tired to open it by clicking on an input field it works properly, also on what should i put this script??
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 6 months ago
- 1 year ago