The problem is that the overlay is not showing as modal and the user can even change fields in view behind.
How can I get that grey translucid screen that umbraco uses when overlays are shown?
Not sure if this will help as I've not tested it, but the overlay in the UI Example package prevents clicking on the background and this is how they open the overlay:
function openOverlay() {
localizationService.localizeMany(["buttons_overlayTitle", "buttons_overlayMessage"])
.then(function (values) {
var overlay = {
title: values[0],
content: values[1],
disableBackdropClick: true,
disableEscKey: true,
submit: function () {
overlayService.close();
}
};
overlayService.confirmDelete(overlay);
});
}
Overlay quick question
Hi
I'm trying to get an overlay view on the right side of my backoffice.
Here's my js controller
And here's my view
The problem is that the overlay is not showing as modal and the user can even change fields in view behind. How can I get that grey translucid screen that umbraco uses when overlays are shown?
Best regards,
Jorge
Not sure if this will help as I've not tested it, but the overlay in the UI Example package prevents clicking on the background and this is how they open the overlay:
This is the package https://our.umbraco.com/packages/developer-tools/ui-examples/ and the example above is from the buttons.controller.js file
HTH
t
is working on a reply...