Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Animations getAnimationStyle return undefined in angular 7.x with old browsers #29278

Closed
Serginho opened this issue Mar 13, 2019 · 2 comments
Closed

Comments

@Serginho
Copy link
Contributor

Serginho commented Mar 13, 2019

馃悶 bug report

Affected Package

@angular/animations

Is this a regression?

No

Description

Since I've updated from angular 5.2 to 7.2 I'm getting the following errors related with animations:

Cannot read property 'split' of undefined

Cannot call method 'trim' of undefined

This error is happens at least in the following browsers:

Chrome (28.0.1500.94) running over Android (4.2.2)
Chrome (34.0.1847.114) running over Android (4.4.2)
Chrome (42.0.2311.111) running over Android (4.2.2)
Mobile Safari (8.0) running over iOS (8.4)
Android Browser (4.0) running over Android (8.1)

This is not happening in last versions of these browsers.

馃敩 Minimal Reproduction

Running animations in any of this browsers

馃敟 Exception or Error

TypeError: Cannot read property 'split' of undefined
    at t.push.NSYL.t.destroy (/vendor.6687942ea70b4222b345.js:1:436607)
    at t.push.NSYL.t.destroy (/vendor.6687942ea70b4222b345.js:1:437754)
    at /vendor.6687942ea70b4222b345.js:1:1559085
    at Array.forEach (native)
    at t.push.ihYY.t._onDestroy (/vendor.6687942ea70b4222b345.js:1:1559056)
    at t.push.ihYY.t.destroy (/vendor.6687942ea70b4222b345.js:1:1558941)
    at t.push.NSYL.t.destroy (/vendor.6687942ea70b4222b345.js:1:430640)
    at /vendor.6687942ea70b4222b345.js:1:415603
    at Array.forEach (native)
    at t.push.NSYL.t.destroy (/vendor.6687942ea70b4222b345.js:1:415574)
TypeError: Cannot call method 'trim' of undefined
    at t.apply (/vendor.6687942ea70b4222b345.js:1:435597)
    at t.init (/vendor.6687942ea70b4222b345.js:1:438603)
    at /vendor.6687942ea70b4222b345.js:1:1558126
    at Array.forEach (native)
    at t.init (/vendor.6687942ea70b4222b345.js:1:1558097)
    at t.play (/vendor.6687942ea70b4222b345.js:1:1558561)
    at t.play (/vendor.6687942ea70b4222b345.js:1:430383)
    at /vendor.6687942ea70b4222b345.js:1:426198
    at Array.forEach (native)
    at t._flushAnimations (/vendor.6687942ea70b4222b345.js:1:426075)

馃實 Your Environment

Angular Version:
Angular: 7.2.8

@ngbot ngbot bot added this to the needsTriage milestone Mar 13, 2019
@pedep
Copy link

pedep commented Mar 20, 2019

Duplicate of #24094

@gkalpak gkalpak closed this as completed Mar 20, 2019
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants