components icon indicating copy to clipboard operation
components copied to clipboard

Tooltip TypeError with web.animations.js

Open ghost opened this issue 9 years ago • 7 comments

#### Bug: Material Tooltip with web.animations.js, do not work properly if we trigger a tooltip more than two consecutive times in a short time is thrown this error (only Safari): 'TypeError: e [0] .push is not a function. (In 'and [0] .push (1)', 'and [0] .push' is undefined) --- web-animations.min.js:16:6248

What is the expected behavior?

No error

What is the current behavior?

This error on mouse enter more times in small piece of time: error_tooltip-md2

'TypeError: e [0] .push is not a function. (In 'and [0] .push (1)', 'and [0] .push' is undefined) '

What are the steps to reproduce?

Plunker template: http://plnkr.co/edit/GqVcNkh0GRxCYUmcj7fv?p=preview

What is the use-case or motivation for changing an existing behavior?

I'm using 2 Material for a big project and I find difficulty with this bug.

Which versions of Angular, Material, OS, browsers are affected?

MAC OSX,material2-builds, and latest, web.animations 2.2.2. Safari on Sierra, not Chrome.

Is there anything else we should know?

ghost avatar Mar 30 '17 14:03 ghost

This is a duplicate of #3694

donroyco avatar Mar 30 '17 18:03 donroyco

Maybe also a duplicate of https://github.com/angular/material2/issues/3384

karlhaas avatar Mar 31 '17 06:03 karlhaas

Hi,I believe is a duplicate of #3384, can you excuse me, please? It does not miss anything to you :-)

Bye

Il giorno 31 mar 2017, alle ore 08:30, karlhaas [email protected] ha scritto:

Maybe also a duplicate of #3384 https://github.com/angular/material2/issues/3384 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/angular/material2/issues/3846#issuecomment-290628614, or mute the thread https://github.com/notifications/unsubscribe-auth/ATgUNTwahNYcePRyVIBWuwIcPNxDpWYIks5rrJ1sgaJpZM4Muda9.

ghost avatar Mar 31 '17 17:03 ghost

Seems to be working fine in the latest version.

Be sure to check out the changelog for the latest release in regards to changes w/ animations.

jelbourn avatar Apr 09 '17 02:04 jelbourn

@jelbourn still the same error with material v. 2.0.0-beta.3 in Safari

karlhaas avatar Apr 09 '17 16:04 karlhaas

updating "web-animations-js": "2.2.5" should fix

compitDanielos avatar May 16 '17 12:05 compitDanielos

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.