When calling accept() or close() to hide the keyboard, base.$preview is cleared here.
However, the keydown event on $preview remains bound, and escape appears to be manually handled, eventually the modified text in the internal buffer is copied out to $preview. However since preview has been cleared, the backspace key is swallowed.
When calling accept() or close() to hide the keyboard, base.$preview is cleared here.
However, the keydown event on $preview remains bound, and escape appears to be manually handled, eventually the modified text in the internal buffer is copied out to $preview. However since preview has been cleared, the backspace key is swallowed.