digicorp / propeller

Propeller - Develop more, Code less. Propeller is a front-end responsive framework based on Google's Material Design Standards & Bootstrap.
http://propeller.in
MIT License
1.13k stars 141 forks source link

Modals appear with shading overlay, controls unusable #31

Closed robertandrews closed 7 years ago

robertandrews commented 7 years ago

Hi, I am trying to use a modal opened by a button. Eventually, it will be a form. But, for now, just any kind of basic modal test would be a success.

The problem is, every modal is appearing with the shading not just behind it but also over the front. That means everything on the page (both the modal and the page behind) is unclickable.

Here is my code - https://www.pastiebin.com/593c523e4e92a

FYI, this is being run through WordPress, with bs4navbar - but I also get the problem when I hand-code the modal code direct.

I'm curious to know what the problem is.

robertandrews commented 7 years ago

This was because I tried to include the modal mark-up inside nav. Putting it outside makes everything okay.