Occasionally, I show a popup (let’s call it B) on top of another popup (A). Right now, the grayout from B is graying out the page background nicely, but popup A is not grayed out, as you can see in the screenshot below:
Put a black Shape element (rectangle) over Popup A . Make sure it’s on “top” (bring to front), and set it’s opacity as desired. Also, make sure it’s not visible on page load.
Create a conditional on the Shape element such that when Popup B is visible, the Shape element is visible as well.
I haven’t actually tried it, but it seems like it should work.
I saw your thread and have a question as you’ve clearly been able to do it. How did you get your popup B to show ‘in front’ of popup A?
I can get my popup B to ‘pop up’ but it’s always behind A. I am thinking that there’s something simple I’ve missed, otherwise I will do it with ‘set state’ (or something else back-end), and so I thought I’d ask you as you clearly have done it!
I’m not using Bubble these days but as I recall, you need to recreate popup B so it shows up above popup A in the sidebar navigation in the backend. Something like that.