Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.

Commit a9d0e9b

Browse files
committed
gh-574 Fix Safari/FF browser overlay issue
* Remove .fade css animation from styles (main cause of issue) * Add web-animations-js polyfill so that web animations work in Safari - needed by the busy module so that fade-ins/outs still work * Fixes the issues in Safari and Firefox
1 parent cbe4e7f commit a9d0e9b

File tree

3 files changed

+2
-11
lines changed

3 files changed

+2
-11
lines changed

ui/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
"spring-flo": "0.7.0",
4141
"stompjs": "2.3.3",
4242
"tixif-ngx-busy": "0.0.5",
43+
"web-animations-js": "2.3.1",
4344
"zone.js": "0.8.18",
4445
"jshint": "2.9.5"
4546
},

ui/src/polyfills.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ import 'core-js/es7/reflect';
4646
* Required to support Web Animations `@angular/animation`.
4747
* Needed for: All but Chrome, Firefox and Opera. http://caniuse.com/#feat=web-animation
4848
**/
49-
// import 'web-animations-js'; // Run `npm install --save web-animations-js`.
49+
import 'web-animations-js'; // Run `npm install --save web-animations-js`.
5050

5151

5252

ui/src/styles.scss

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -67,16 +67,6 @@ table.table {
6767
position: unset;
6868
}
6969

70-
@keyframes fade {
71-
0% { opacity: 0; }
72-
100% { opacity: 1; }
73-
}
74-
75-
.fade {
76-
animation: fade ease-in-out 1s;
77-
animation-fill-mode: forwards;
78-
}
79-
8070
.vertical-center {
8171
background-color: #232b2f;
8272
min-height: 100%; /* Fallback for browsers do NOT support vh unit */

0 commit comments

Comments
 (0)