Menu icon Foundation
Modal - z-index

In the latest release of Foundation, reveal-modal-bg has a z-index of 99. In previous releases it had a z-index of 98. This change don't allow you to use the modal, unless you change the z-index back. The reveal-modal-bg will appear on top of the actual modal, and if you click anywhere on the screen, the modal will close.

modalbugz-index5.2

In the latest release of Foundation, reveal-modal-bg has a z-index of 99. In previous releases it had a z-index of 98. This change don't allow you to use the modal, unless you change the z-index back. The reveal-modal-bg will appear on top of the actual modal, and if you click anywhere on the screen, the modal will close.

Rafi Benkual about 5 years ago

This is fixed in master https://github.com/zurb/foundation/commit/22e42b1ca9e37f7b88fa2e887435d696ef6361a7

You will see the correct values there. You can update to master now or it will be in 5.2.1