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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tooltip] Allow app level tooltip show and hide delay configuration #7928

Closed
karan-kang opened this issue Oct 20, 2017 · 2 comments · Fixed by #8109
Closed

[Tooltip] Allow app level tooltip show and hide delay configuration #7928

karan-kang opened this issue Oct 20, 2017 · 2 comments · Fixed by #8109
Assignees
Labels
feature This issue represents a new feature or feature request rather than a bug or bug fix P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Comments

@karan-kang
Copy link

Feature request:

Allow developers to configure global tooltip show/hide delay.

What is the expected behavior?

Provide InjectionTokens for easier app-level configuration of tooltip show and hide delay.

What is the current behavior?

Currently, tooltip delay can be configured on per component basis using the matTooltipShowDelay and matTooltipHideDelay attributes, but this is very verbose.

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

Consistency and ease of use.

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

Angular Material Beta 12

@andrewseguin andrewseguin self-assigned this Oct 21, 2017
@andrewseguin andrewseguin added the feature This issue represents a new feature or feature request rather than a bug or bug fix label Oct 21, 2017
@andrewseguin andrewseguin changed the title Allow app level tooltip show and hide delay configuration [Tooltip] Allow app level tooltip show and hide delay configuration Oct 23, 2017
@andrewseguin andrewseguin added P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent and removed mat-tooltip labels Oct 23, 2017
crisbeto added a commit to crisbeto/material2 that referenced this issue Oct 29, 2017
Adds the `MAT_TOOLTIP_DEFAULT_OPTIONS` provider that allows users to set app-wide defaults for the tooltip delays.

Fixes angular#7928.
@torsten-simon
Copy link

Any news on this? Can the pull request be merged?

crisbeto added a commit to crisbeto/material2 that referenced this issue Dec 1, 2017
Adds the `MAT_TOOLTIP_DEFAULT_OPTIONS` provider that allows users to set app-wide defaults for the tooltip delays.

Fixes angular#7928.
crisbeto added a commit to crisbeto/material2 that referenced this issue Dec 1, 2017
Adds the `MAT_TOOLTIP_DEFAULT_OPTIONS` provider that allows users to set app-wide defaults for the tooltip delays.

Fixes angular#7928.
andrewseguin pushed a commit that referenced this issue Dec 13, 2017
…8109)

Adds the `MAT_TOOLTIP_DEFAULT_OPTIONS` provider that allows users to set app-wide defaults for the tooltip delays.

Fixes #7928.
@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 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature This issue represents a new feature or feature request rather than a bug or bug fix P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants