Skip to content

[Bug] toolTip 设置中禁用自动触发后,通过 dispatchAction 触发 showTip 无效 #18620

@pjxxcc

Description

@pjxxcc

Version

5.4.2

Link to Minimal Reproduction

Reproduction Link

Steps to Reproduce

  1. 将 toolTip 设置中的 trigger 设置为 'none' 禁用自动触发;
  2. 监听 mouseover 事件,此时再调用 dispatchAction 触发 showTip,无效;

这么做的目的其实是为了在 mouseover 事件中判定用户同时按住 Ctrl 键的情况下才显示 toolTip。

Current Behavior

为了在 mouseover 事件中判定用户同时按住 Ctrl 键的情况下才显示 toolTip

Expected Behavior

trigger 设置为 'none' 禁用自动触发 toolTip 后,在 mouseover 事件中调用 dispatchAction 触发 showTip,无效

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugpendingWe are not sure about whether this is a bug/new feature.staleInactive for a long time. Will be closed in 7 days.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions