From a05fd042df9e025b287f342358be6bbd4f0d5018 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Wed, 12 Jun 2019 10:56:08 +0300 Subject: [PATCH] fix small annoyance --- src/components/timeline/timeline.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/timeline/timeline.js b/src/components/timeline/timeline.js index 19d9a9ac..9dafcbd8 100644 --- a/src/components/timeline/timeline.js +++ b/src/components/timeline/timeline.js @@ -78,6 +78,8 @@ const Timeline = { }, methods: { handleShortKey (e) { + // Ignore when input fields are focused + if (['textarea', 'input'].includes(e.target.tagName.toLowerCase())) return if (e.key === '.') this.showNewStatuses() }, showNewStatuses () {