mathlive
mathlive copied to clipboard
Dynamicaly disabling mathfield locks the keyboard as open
I disable mathfield by script with mathfield.disable = true. That works great and mathfield becomes non editable. But in some cases, the inputfield.disable = true is trigered when the keyboard is still open and it turns out that the keyboard stays open without any means to close it. Is there any way to hide it automatically to prevent this behavior ? Thanks Chris
It works if I add a this.inputField.executeCommand("hideVirtualKeyboard") before disabling it. I've tried to blur it before with no success ( for information I use virtualKeyboardMode: "onfocus")