-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Tooltip never disappears after opening #3384
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Please make sure that you have included the animation package for angular core. You can find more information about implementing the animation package here https://github.com/angular/angular/blob/master/CHANGELOG.md#400-rc1-2017-02-24 |
Related: #3321 |
@frankspin89 thanks, that works well! it's not obvious, you also need to add BrowserAnimationsModule too… (see http://stackoverflow.com/questions/42470364/using-angular-material-2-tabs-component-with-angular-4-0-0-rc-1/42471212#42471212). |
I can't import BrowserAnimationsModule like Error:
If BrowserAnimationsModule should be used, then it should be available via index.ts / public_api.ts ... right? |
I can confirm tooltip gets stuck in IE/Edge and Safari, but works fine in Chrome and Firefox. I believe this is due to web-animations polyfill and I've reported it there. This issue actually crashes my app so I've had to blacklist IE/Edge and Safari from even loading the web-animations polyfill. Reproduce by hovering in and out of button rapidly. |
As also added to web-animations/web-animations-js#115 I think we got the same error: |
Another strange fact is that
|
@karlhaas: I am using angular 4 and material 2 beta 2 and it's working great (as long as |
Without |
@karlhaas ha, maybe not in this context, sorry :) I just tried with chromium |
I just provided a PR to fix this in web-animations-js: web-animations/web-animations-js#118 |
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 still the same error with material v. 2.0.0-beta.3 in Safari. Fix is available for web-animations-js: web-animations/web-animations-js#118 |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Bug, feature request, or proposal:
Bug with my dependencies may be.. or @angular/animations
What is the expected behavior?
Tooltip should disappear after the hideDelay
What is the current behavior?
Tooltip NOT disappear after the hideDelay
What are the steps to reproduce?
Same of material2 official doc
Providing a Plunker (or similar) is the best way to get the team to see your issue.
Works with this version.
Plunker template: http://plnkr.co/edit/pr4AFA06aURbMxYI77BK?p=preview
Not works with this dependencies :
What is the use-case or motivation for changing an existing behavior?
N/A
Which versions of Angular, Material, OS, browsers are affected?
`
...
"@angular/common": "4.0.0-rc.1",
"@angular/compiler": "4.0.0-rc.1",
"@angular/core": "4.0.0-rc.1",
"@angular/flex-layout": "2.0.0-rc.1",
"@angular/forms": "4.0.0-rc.1",
"@angular/http": "4.0.0-rc.1",
"@angular/material": "2.0.0-beta.2",
...
"@angular/cli": "1.0.0-rc.0",
"@angular/compiler-cli": "4.0.0-rc.1",
"typescript": "2.2.1"
...
`
Is there anything else we should know?
I post my problem here : https://gitter.im/angular/material2.
I imported @angular/animations.
But nothing change.
Is it necessary that I import it in my code or angular does it alone ?
Thanks.
The text was updated successfully, but these errors were encountered: