From f03a20dec91879984a961342e2d20adb61c05ea0 Mon Sep 17 00:00:00 2001 From: Noah Loomans Date: Wed, 7 Dec 2016 11:34:26 +0100 Subject: fixed keyboard not closing on iOS safari --- public/javascripts/bundle.js | 5 ++++- public/javascripts/main.js | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'public') diff --git a/public/javascripts/bundle.js b/public/javascripts/bundle.js index da2840d..5f823d2 100644 --- a/public/javascripts/bundle.js +++ b/public/javascripts/bundle.js @@ -803,6 +803,9 @@ window.addEventListener('blur', function () { var oldValue = inputNode.value; inputNode.value = ''; inputNode.value = oldValue; + + // this will hide the keyboard (iOS safari) + document.activeElement.blur(); }); searchNode.addEventListener('blur', function (e) { @@ -861,4 +864,4 @@ document.body.style.opacity = '1'; window.easterEggs = easterEggs; },{"./easterEggs":5,"./getURLOfUser":6,"./getWeek":7,"diacritics":1,"flexibility":2,"fuzzy":3}]},{},[8]) -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm5vZGVfbW9kdWxlcy9icm93c2VyLXBhY2svX3ByZWx1ZGUuanMiLCJub2RlX21vZHVsZXMvZGlhY3JpdGljcy9pbmRleC5qcyIsIm5vZGVfbW9kdWxlcy9mbGV4aWJpbGl0eS9mbGV4aWJpbGl0eS5qcyIsIm5vZGVfbW9kdWxlcy9mdXp6eS9saWIvZnV6enkuanMiLCJub2RlX21vZHVsZXMvbGVmdC1wYWQvaW5kZXguanMiLCJwdWJsaWMvamF2YXNjcmlwdHMvZWFzdGVyRWdncy5qcyIsInB1YmxpYy9qYXZhc2NyaXB0cy9nZXRVUkxPZlVzZXIuanMiLCJwdWJsaWMvamF2YXNjcmlwdHMvZ2V0V2Vlay5qcyIsInB1YmxpYy9qYXZhc2NyaXB0cy9tYWluLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0FDQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0F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2FzZSAncic6XG4gICAgICBldmVudEFjdGlvbiA9ICdSb29tJ1xuICAgICAgYnJlYWtcbiAgICBjYXNlICdzJzpcbiAgICAgIGV2ZW50QWN0aW9uID0gJ1N0dWRlbnQnXG4gICAgICBicmVha1xuICB9XG4gIGNvbnN0IGV2ZW50TGFiZWwgPSBzZWxlY3RlZFVzZXIudmFsdWVcblxuICBnYShmdW5jdGlvbiAoKSB7XG4gICAgZ2EoJ3NlbmQnLCB7IGhpdFR5cGU6ICdldmVudCcsIGV2ZW50Q2F0ZWdvcnk6ICdzZWFyY2ggZmF2JywgZXZlbnRBY3Rpb24sIGV2ZW50TGFiZWwgfSlcbiAgfSlcbn0gZWxzZSBpZiAoaW5wdXROb2RlLnZhbHVlID09PSAnJykge1xuICBkb2N1bWVudC5ib2R5LmNsYXNzTGlzdC5hZGQoJ25vLWlucHV0JylcbiAgaW5wdXROb2RlLmZvY3VzKClcbn1cblxuaWYgKHNjaGVkdWxlSWZyYW1lLnNyYyAhPT0gJycpIHtcbiAgZG9jdW1lbnQuYm9keS5jbGFzc0xpc3QuYWRkKCdzZWFyY2hlZCcpXG59XG5cbmRvY3VtZW50LmJvZHkuc3R5bGUub3BhY2l0eSA9ICcxJ1xuXG53aW5kb3cuZWFzdGVyRWdncyA9IGVhc3RlckVnZ3NcbiJdfQ== diff --git a/public/javascripts/main.js b/public/javascripts/main.js index 7daedcf..63c3f66 100644 --- a/public/javascripts/main.js +++ b/public/javascripts/main.js @@ -185,6 +185,9 @@ window.addEventListener('blur', function () { const oldValue = inputNode.value inputNode.value = '' inputNode.value = oldValue + + // this will hide the keyboard (iOS safari) + document.activeElement.blur() }) searchNode.addEventListener('blur', function (e) { -- cgit v1.1