Closing Mendix default information popup

2
Hi, I’m facing an issue with Mendix default information popup while clicking the action button of the grid without selecting the record When user clicks the action button for multiple times, multiple popups got opened on the screen. Is there a way to avoid displaying these popups on the screen Or blocking the screen when single popup got opened?
asked
2 answers
2

You can add some css that will block the background until the information box is closed.

This will require adding a class to the pop-up and then using something similar to below:

.modal-dialog:before {
    content: "";
    opacity: 1;
    filter: alpha(opacity=100);
    background-color: rgba(8, 17, 56, 0.9);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

 

answered
4

An other thing you can do is if you are using the Atlas UI-Resources from the appstore: 

https://appstore.home.mendix.com/link/app/104730/Mendix/Atlas-UI-Resources

the pop-up layout that is used in there is a modal pop-up. That means that when the pop-up is open the background can't be clicked

Kind regards,

Edo

answered