top of page
Forum Comments
Modal Popups
In Knack
CH Project Support Limited Carl Holmes
Nov 18, 2020
Hi LF Schmidt, not sure why this didn’t work for you?
I use the below in all my Knack apps and it stops the pop up closing although I don’t hide the close X link.
just replace the view:
//Prevents clicking off a popup modal windows
$(document).on('knack-scene-render.any', function(event, scene) {
$('.kn-modal-bg').off('click');
});
Modal Popups
In Knack
CH Project Support Limited Carl Holmes
More actions
bottom of page