jquery - materialize css double modal -


when show 1 modal, , action inside modal displays modal, screen gets opacity, , that's annoying of course.

i see materialize creates element, @ end of dom:

<div class="lean-overlay" id="materialize-lean-overlay-1" style="z-index: 1002; display: block;opacity: 0.5;"></div> <div class="lean-overlay" id="materialize-lean-overlay-2" style="z-index: 1004; display: block;opacity: 0.5;"></div> 

i should set opacity of last element 0.

but think solution won't work in cases (sometimes id="materialize-lean-overlay-xxx"). can loop class="lean-overlay" elements, , set opacity of last element 0, not sure if it's best solution.

what think? thanks!!

try remove oppacity of father modal , run


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -