Skip to content

Commit 0e57d78

Browse files
authored
fix(ui5-busyindicator): fix component placement and appearance in IE (#1505)
The opacity of 0.6 used to apply to the busy indicator inter elements in IE due to the absence of shadow DOM, also the position of the circles used to be wrong. Both the visual and the placement is now fixed. Fixes: #1497
1 parent ac6e8d2 commit 0e57d78

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

packages/main/src/themes/BusyIndicator.css

+10-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@
77
pointer-events: none;
88
}
99

10-
:host([active]) ::slotted(*) {
10+
/**
11+
* IE fix: using just the "*" all selector in IE,
12+
* will set the opacity=0.6 to busy indicator internal elements
13+
*/
14+
:host([active]) ::slotted(:not([class^="ui5-busyindicator-"])) {
1115
opacity: 0.6;
1216
}
1317

@@ -73,6 +77,11 @@
7377
justify-content: center;
7478
align-items: center;
7579
background-color: inherit;
80+
/* Fixes IE positioning */
81+
left: 0;
82+
right: 0;
83+
top: 50%;
84+
transform: translate(0, -50%);
7685
}
7786

7887
.circle-animation-0 {

0 commit comments

Comments
 (0)