ElemeFE / ElemeFE/element

[Feature Request] [tooltip] Make hiding debounce optional

Open
#21,155 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Existing Component
Yes

### Component Name
Tooltip

### Description
It's a bit confusing that there's **hide-after** parameter that by default is **0** (so it should be instant hiding), but there is a debounce of 200 ms hardcoded into the component.
When elements are close to each other and have tooltip, it's very annoying how they disappear, because of the debounceClose.

**I propose to make the debounceClose optional as a parameter, with default value 200 ms (as it is hardcoded now.) and if set to 0, then switch off debouncing completey.**

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.