I'm trying to create Bootstrap modal that will be shown while still allowing user to interact with rest of the website. The steps I've done so far are:
- Added
data-backdrop="false"
to modal div to hide shadow of backdrop - Added
keyboard: false
to prevent closing of modal by keyboard ESC Custom CSS class to make dialog show in bottom right corner:
.modalDialog { position: fixed; bottom: 20px; right: 20px; margin: 0px; }
This changes make model appear non-blocking... but there is still problem with page not being scrollable and elements not being clickable. I've tried most of the answers here on StackOverflow but all of them are outdated (for version of Bootstrap before 4).
So, is there a way to do this in Bootstrap 4 that is framework supported, or you are forced to go with custom CSS classes?