mathlive icon indicating copy to clipboard operation
mathlive copied to clipboard

Dynamicaly disabling mathfield locks the keyboard as open

Open chrisbansart opened this issue 2 years ago • 1 comments

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

chrisbansart avatar Jul 09 '22 13:07 chrisbansart

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")

chrisbansart avatar Jul 09 '22 14:07 chrisbansart