components icon indicating copy to clipboard operation
components copied to clipboard

[Tooltip] allow configuration of the hide delay

Open rolandjitsu opened this issue 10 years ago • 3 comments

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?

rolandjitsu avatar Nov 10 '16 17:11 rolandjitsu

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

clcarter avatar Nov 17 '16 22:11 clcarter

@t0f3rchr15 See #3286

aciccarello avatar Oct 10 '17 18:10 aciccarello

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.