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

Tooltips default options #6468

Closed
HugoGGuerrier opened this issue Oct 21, 2019 · 1 comment
Closed

Tooltips default options #6468

HugoGGuerrier opened this issue Oct 21, 2019 · 1 comment

Comments

@HugoGGuerrier
Copy link

In the doc of 1.0.0 the tooltips default exitDelay is 0 but in fact it's 200. On the same way, the tooltips default enterDelay should be 200 but it's 0.

Expected Behavior

let tooltip = M.Tooltip.init(elem);
console.log(tooltip.options.enterDelay);
console.log(tooltip.options.exitDelay);

shows

200
0

Current Behavior

let tooltip = M.Tooltip.init(elem);
console.log(tooltip.options.enterDelay);
console.log(tooltip.options.exitDelay);

shows

0
200

Possible Solution

Change the default value or the doc.

@acburst
Copy link
Collaborator

acburst commented Oct 30, 2019

Good catch

@acburst acburst closed this as completed Oct 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants