-
Notifications
You must be signed in to change notification settings - Fork 723
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add blured background behind keyboard #802
Comments
Hi @GenijeOnline! Try this (demo): CSS .keyboard-modal {
z-index: 15999;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.3);
} JS $(function() {
$('#keyboard').keyboard({
visible: function(e, keyboard, el) {
var modal = $('<div class="keyboard-modal"></div>');
keyboard.$keyboard.before(modal);
modal.click(function(e) {
keyboard.accept();
return false;
});
},
beforeClose: function(e, keyboard, el, accepted) {
$('.keyboard-modal').remove();
}
});
}); |
Oh, use .keyboard-modal {
z-index: 15999;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
backdrop-filter: blur(4px);
} Note: that |
Great! That's it. Thank you! |
Hey again. |
Hello to all.
Please help me to figure it out, how to make that the page (behind keyboard) goes blur when keyboard is open.
I have this:
but this only change back page color (add grey overlay).
I would like to add blur to this overlay.
Thanks.
The text was updated successfully, but these errors were encountered: