diff --git a/packages/main/src/Popup.ts b/packages/main/src/Popup.ts
index 3c89d5c86f9e..297addb09bfb 100644
--- a/packages/main/src/Popup.ts
+++ b/packages/main/src/Popup.ts
@@ -369,6 +369,11 @@ abstract class Popup extends UI5Element {
this._addOpenedPopup();
+ this.classList.add("ui5-popup-opening");
+ setTimeout(() => {
+ this.classList.remove("ui5-popup-opening");
+ }, 50);
+
this.open = true;
// initial focus, if focused element is statically created
diff --git a/packages/main/src/themes/Popup.css b/packages/main/src/themes/Popup.css
index 9da9a57ab365..649241d4af4f 100644
--- a/packages/main/src/themes/Popup.css
+++ b/packages/main/src/themes/Popup.css
@@ -9,4 +9,8 @@
:host(:focus-visible) {
outline: none;
+}
+
+:host(.ui5-popup-opening) {
+ opacity: 0.1;
}
\ No newline at end of file
diff --git a/packages/main/test/pages/Dialog.html b/packages/main/test/pages/Dialog.html
index 119577f212e3..59607ee70c7b 100644
--- a/packages/main/test/pages/Dialog.html
+++ b/packages/main/test/pages/Dialog.html
@@ -95,6 +95,11 @@
+
+
+
+