3

I'm using @angular/animations on my page. It works perfectly on Chrome, Firefox, Safari(Desktop) but the divs that has animation are not visible in Safari (iOS).

I imported web-animations-js in my polyfills.ts file.

**versions**
npm 5.5.1 
@angular/animations: "5.1.1" 
@angular/cli: "1.6.1"
@angular/compiler-cli: "5.1.0" 
web-animations-js: "^2.3.1"
br.julien
  • 3,158
  • 2
  • 22
  • 42
Emre Alparslan
  • 896
  • 13
  • 28

1 Answers1

0

you need to add polyfill in polyfills.ts

remove comments from

import web-animations-js;

then run

npm install --save web-animations-js

Dulanga Heshan
  • 1,098
  • 12
  • 22