diff --git a/apps/keyboard/js/keyboard.js b/apps/keyboard/js/keyboard.js index 25b59f1f8c28..f607043c4e7d 100644 --- a/apps/keyboard/js/keyboard.js +++ b/apps/keyboard/js/keyboard.js @@ -1589,6 +1589,8 @@ function hideKeyboard() { settingsPromiseManager.set({ 'keyboard.current': undefined }); + + clearTouchedKeys(); } // Resize event handler @@ -1759,6 +1761,11 @@ function clearTouchedKeys() { hideAlternatives(); touchedKeys = {}; + + // Reset all the pending actions here. + clearTimeout(deleteTimeout); + clearInterval(deleteInterval); + clearTimeout(menuTimeout); } // Hide the keyboard via input method API