Skip to content

Tooltip TypeError with web.animations.js #3846

Closed
@ghost

Description

#### 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    cannot reproduceThe team is unable to reproduce this issue with the information provided

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions