Allow tapping/clicking outside popup to close it

master
Skylar Ittner 5 years ago
parent 67a64eb768
commit a2cba74aaa

@ -77,6 +77,14 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
background: rgba(0,0,0,0.75);
}
.popup-backdrop {
/*
We want the backdrop to exist to enable closing on tap,
but IMO it's better when it's totally transparent
*/
background: rgba(0,0,0,0);
}
#web-barcode-ui.hidden {
display: none;
}

@ -21,7 +21,7 @@ var app = new Framework7({
swipeToClose: false
},
popup: {
backdrop: false
backdrop: true
},
init: true,
initOnDeviceReady: false,

Loading…
Cancel
Save