Allow clicking behind Ionic Modal


I would like to know how to enable clicking of elements that are behind the modal? I’ve disabled the modal from closing when clicking outside. I’ve got a bar on the top of my app with a button that I want to the user to be able to click on even if the modal is open. I’ve modified the CSS of the modal so that its top is 56px, just below my top bar.

Do I have to modify a CSS property or is there a javascript thing going on that I’m unaware of? There’s no divs or classes covering the top bar from what I can tell in the Chrome dev tools.


Fixed it by adding this to my CSS:

.modal-open {
  pointer-events: all;