diff --git a/public/views/includes/menu.html b/public/views/includes/menu.html index 179c52e58..30b53cdb9 100644 --- a/public/views/includes/menu.html +++ b/public/views/includes/menu.html @@ -1,7 +1,6 @@ -
+
-
+ diff --git a/public/views/includes/topbar.html b/public/views/includes/topbar.html index 68b6e56ce..1e0e8a7c0 100644 --- a/public/views/includes/topbar.html +++ b/public/views/includes/topbar.html @@ -10,7 +10,7 @@
- diff --git a/src/css/mobile.css b/src/css/mobile.css index afd980a94..e699ac100 100644 --- a/src/css/mobile.css +++ b/src/css/mobile.css @@ -774,3 +774,9 @@ textarea:focus -webkit-transform: translate3d(-100%, 0, 0) !important; transform: translate3d(-100%, 0, 0) !important; } + +/* removes 300ms in IE */ +-ms-touch-action: manipulation; /* IE10 / +touch-action: manipulation; /* IE11+ */ + + diff --git a/src/js/routes.js b/src/js/routes.js index 5218d468d..650b9a972 100644 --- a/src/js/routes.js +++ b/src/js/routes.js @@ -506,6 +506,20 @@ angular importLegacy: 12 }; + // on touchdown elements + if (document) { + setTimeout(function() { + $log.debug('Binding touchstart elements...'); + ['menu-walletHome', 'menu-send', 'menu-receive', 'menu-history', 'camera-icon'].forEach(function(id) { + var e = document.getElementById(id); + + if (e) e.addEventListener('touchstart', function() { + angular.element(e).triggerHandler('click'); + }); + }) + }, 1000); + } + $rootScope.$on('$stateChangeSuccess', function() { $rootScope.$emit('Animation/Disable'); });