From e97843c9dfed74035b6db7a3761876a3932ff099 Mon Sep 17 00:00:00 2001 From: Sebastiaan Pasma Date: Fri, 15 Jun 2018 11:16:44 +0200 Subject: [PATCH] Possible fix for hiding menu in some cases (keyboard-related) --- src/js/routes.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/js/routes.js b/src/js/routes.js index 395a356bd..4e72246ba 100644 --- a/src/js/routes.js +++ b/src/js/routes.js @@ -1383,6 +1383,11 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr } $rootScope.$on('$stateChangeStart', function(event, toState, toParams, fromState, fromParams) { + if (document.body.classList.contains('keyboard-open')) { + document.body.classList.remove('keyboard-open'); + $log.debug('Prevented keyboard open bug..'); + } + $log.debug('Route change from:', fromState.name || '-', ' to:', toState.name); $log.debug(' toParams:' + JSON.stringify(toParams || {})); $log.debug(' fromParams:' + JSON.stringify(fromParams || {}));