aboutsummaryrefslogtreecommitdiffstats
path: root/pages
diff options
context:
space:
mode:
authorgdh19952018-01-28 16:02:50 +0800
committergdh19952018-01-28 16:04:40 +0800
commitf669001182df79cc75d35e074617fef30209fc7c (patch)
tree36e2e056691f09d87536b0cc61c4cad630200c21 /pages
parenta461d8d5ecd1aee1ae4cd28b1e0d12dc04adc152 (diff)
downloadvimium-f669001182df79cc75d35e074617fef30209fc7c.tar.bz2
on vomnibar hiding, blur input first
This should fix an IME status issue (#2924).
Diffstat (limited to 'pages')
-rw-r--r--pages/vomnibar.coffee1
1 files changed, 1 insertions, 0 deletions
diff --git a/pages/vomnibar.coffee b/pages/vomnibar.coffee
index 8c790ca8..ec5f818f 100644
--- a/pages/vomnibar.coffee
+++ b/pages/vomnibar.coffee
@@ -57,6 +57,7 @@ class VomnibarUI
# This ensures that the vomnibar is actually hidden before any new tab is created, and avoids flicker after
# opening a link in a new tab then returning to the original tab (see #1485).
hide: (@onHiddenCallback = null) ->
+ @input.blur()
UIComponentServer.postMessage "hide"
@reset()