Whenever I click on a bootstrap button in the app, its gets stuck in a active or hover state, unless I click somewhere on the screen. So I'm thinking thats a easy solution
1) detect when someone clicks a bootstrap button
$(document).on('touchstart', '.btn', function(){
console.log("button touch");
});
2) How can I somehow click somewhere on the screen so button is unstuck? (touchend event is occuring on bootstrap buttons)
$(document).on('touchend', '.btn', function(){
console.log("button touch end");
// ?????????????
});
My bootstrap buttons get stuck on phonegap app and I've tried all these answers
1) doesn't fix problem at all Bootstrap buttons get "stuck" down on mobile devices
2) I don't wanna change background bootstrap 3 button hover/focus state