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 configuration of the hide delay #1808

Closed
rolandjitsu opened this issue Nov 10, 2016 · 3 comments · Fixed by #2101
Closed

[Tooltip] allow configuration of the hide delay #1808

rolandjitsu opened this issue Nov 10, 2016 · 3 comments · Fixed by #2101
Assignees
Labels
P2 The issue is important to a large percentage of users, with a workaround
Milestone

Comments

@rolandjitsu
Copy link

Bug, feature request, or proposal:

Feature

What is the expected behavior?

TOOLTIP_HIDE_DELAY should be configurable even though according to the specs is set to be 1.5 seconds.
Ideally, a user should configure it via an opaque token:

import {TOOLTIP_HIDE_DELAY} from '@angular/material';

@NgModule({
    providers: [
        {provide: TOOLTIP_HIDE_DELAY, useValue: 450}
    ]
})
export class MyModule {}

What is the current behavior?

Currently you cannot configure the timing.

What are the steps to reproduce?

Providing a Plunker (or similar) is the best way to get the team to see your issue.
Plunker template: http://plnkr.co/edit/o077B6uEiiIgkC0S06dd

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

Some users may wish to hide the tooltip earlier than the spec dictates.

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

2.0.0-alpha.10

Is there anything else we should know?

@jelbourn jelbourn added this to the alpha.11 milestone Nov 10, 2016
@jelbourn jelbourn added the P2 The issue is important to a large percentage of users, with a workaround label Nov 10, 2016
@rolandjitsu rolandjitsu changed the title fix(MdTooltip): allow configuration of the hide delay feat(MdTooltip): allow configuration of the hide delay Nov 10, 2016
@andrewseguin andrewseguin changed the title feat(MdTooltip): allow configuration of the hide delay [Tooltip] allow configuration of the hide delay Nov 16, 2016
@clcarter
Copy link

clcarter commented Nov 17, 2016

Is a configurable delay for open() on the roadmap as well?

@aciccarello
Copy link

@t0f3rchr15 See #3286

@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
P2 The issue is important to a large percentage of users, with a workaround
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants