I have created a dialog box that confirms that something can be removed. This is a group containing:
- a blurred background image
- a label with a question
- a ‘No’ button
- a ‘Yes’ button
The ‘Yes’ button has the same Z-value as the ‘No’ button. When the group option “Blur background when visible” is enabled, the ‘No’ button appears in the background (or so it seems)
When this option is disabled, it looks as expected:
Something I can do to improve?
Snippet code group:
{
"snippetHeader": "Dashboard Studio Snippet",
"snippetType": "widget-snippet",
"snippetFormatVersion": 1,
"version": "1.9.5",
"source": {
"dashboardName": "HomeDashV2",
"page": 25,
"createdAt": "2026-06-04T06:18:33.361Z"
},
"master": {
"currentPage": 25
},
"widgets": {},
"groups": {
"group_mpz3qm5r_105": {
"id": "group_mpz3qm5r_105",
"name": "Group 12",
"locked": false,
"visible": false,
"bindings": {
"visible": "homey/event/toonVerwijderDialog"
},
"overridePage": "",
"dimBackgroundWhenVisible": true,
"widgets": {
"switch_460485110": {
"type": "switch",
"overrides": {
"x": 1270,
"y": 970,
"width": 150,
"height": 80,
"zIndex": 42,
"page": "25",
"buttonLabel": "Nee",
"outputTopic": "toonVerwijderDialog",
"onPayload": "false",
"icons": {
"on": {
"source": "custom",
"builtin": "ph-check-fat",
"weight": "regular",
"customUrl": "https://cdn.jsdelivr.net/npm/@mdi/svg@7.2.96/svg/close-thick.svg",
"tintImage": true,
"color": "#1D4ED8",
"size": 15
},
"off": {
"color": "#1D4ED8",
"size": 15,
"offsetX": 0,
"offsetY": 0,
"tintImage": true
}
},
"iconColorOverrides": {
"on": {
"enabled": false,
"color": "#ffffff"
},
"off": {
"enabled": false,
"color": "#94a3b8"
}
},
"style": "button",
"labelPos": "inside_right",
"showIcon": true,
"bevel": true,
"btnGlow": false,
"metaName": "Sluiten Setup",
"colOn": "#E2E8F0",
"colOff": "#E2E8F0",
"bgVisible": true,
"bgColStart": "#E2E8F0",
"bgColEnd": "#E2E8F0",
"bgOpacityStart": 100,
"borderColor": "#006aff",
"borderWidth": 0,
"visible": true,
"typography": {
"buttonLabelOutside": {
"fontSize": 25,
"color": "#ffffff",
"colorOff": "#ffffff",
"textTransform": "none"
},
"buttonLabelInside": {
"fontSize": 35,
"color": "#1D4ED8",
"colorOff": "#1D4ED8",
"textTransform": "none",
"fontFamily": "'Exo 2', sans-serif",
"textAlign": "center"
}
},
"_switchTypographyV2": true,
"mode": "push",
"_switchIconsV3": true
},
"bindings": {}
},
"switch_594096916": {
"type": "switch",
"overrides": {
"x": 1450,
"y": 970,
"width": 150,
"height": 80,
"zIndex": 42,
"page": "25",
"buttonLabel": "Ja",
"outputTopic": "SolarRegelVerwijderen",
"icons": {
"on": {
"source": "custom",
"builtin": "ph-check-fat",
"weight": "regular",
"customUrl": "https://cdn.jsdelivr.net/npm/@mdi/svg@7.2.96/svg/check-bold.svg",
"tintImage": true,
"color": "#E2E8F0",
"size": 15
},
"off": {
"color": "#E2E8F0",
"size": 15,
"offsetX": 0,
"offsetY": 0,
"tintImage": true
}
},
"iconColorOverrides": {
"on": {
"enabled": false,
"color": "#ffffff"
},
"off": {
"enabled": false,
"color": "#94a3b8"
}
},
"style": "button",
"labelPos": "inside_right",
"showIcon": true,
"bevel": true,
"btnGlow": false,
"metaName": "Sluiten Setup (Copy)",
"colOn": "#0000ff",
"colOff": "#0000ff",
"bgVisible": true,
"bgColStart": "#0062ff",
"bgColEnd": "#004cff",
"bgOpacityStart": 100,
"borderColor": "#006aff",
"borderWidth": 0,
"visible": true,
"typography": {
"buttonLabelOutside": {
"fontSize": 25,
"color": "#ffffff",
"colorOff": "#ffffff",
"textTransform": "none"
},
"buttonLabelInside": {
"fontSize": 35,
"color": "#ffffff",
"colorOff": "#ffffff",
"textTransform": "none",
"fontFamily": "'Exo 2', sans-serif",
"textAlign": "center"
}
},
"_switchTypographyV2": true,
"mode": "push",
"_switchIconsV3": true
},
"bindings": {}
},
"label_7407": {
"type": "label",
"overrides": {
"x": 990,
"y": 790,
"width": 610,
"height": 120,
"zIndex": 42,
"page": 25,
"text": "Regel met de meest recente jaar/maand verwijderen? ",
"labelWAuto": false,
"labelHAuto": false,
"typography": {
"label": {
"fontSize": 35
}
},
"metaName": "New Label"
},
"bindings": {}
},
"image_597965412": {
"type": "image",
"overrides": {
"x": 960,
"y": 710,
"width": 670,
"height": 360,
"zIndex": 39,
"page": "25",
"sourceType": "svg",
"svgRaw": "<svg width=\"670\" height=\"360\" viewBox=\"0 0 670 360\" xmlns=\"http://www.w3.org/2000/svg\">\n <foreignObject width=\"100%\" height=\"100%\">\n <div xmlns=\"http://www.w3.org/1999/xhtml\" \n style=\"\n width: 100%;\n height: 100%;\n background: rgba(0, 0, 0, 0.4);\n backdrop-filter: blur(15px);\n -webkit-backdrop-filter: blur(15px);\n /* border-radius: Zorgt voor de gevraagde afronding van 20px */\n border-radius: 20px;\n /* border: Voegt een doorlopende (solid) rand toe van 1px dik met een lichtoranje kleur (RGB met 0.6 transparantie voor een zachte uitstraling) */\n border: 1px solid rgba(255, 179, 0, 0.3);\n /* box-sizing: Zorgt ervoor dat de rand binnen de 100% breedte/hoogte valt en niet buiten de SVG snijdt */\n box-sizing: border-box;\">\n </div>\n </foreignObject>\n</svg>\n",
"metaName": "Dialog achtergrond",
"bgVisible": true,
"bgOpacityStart": 0,
"bgOpacityEnd": 0,
"glowEnabled": true,
"glowOpacity": 100,
"borderColor": "#ffb300",
"visible": true,
"borderWidth": 0,
"cornerRadius": 20,
"labelFs": 40,
"labelOffY": 10,
"glowColor": "#000000",
"colOff": "#878787",
"labelFont": "'Exo 2', sans-serif",
"labelCol": "@surfaceHover",
"opacity": 100,
"fit": false,
"proportional": false,
"scale": 100,
"borderOpacity": 60
},
"bindings": {}
}
}
}
}
}