Skip to content

tour漫游式引导,target设置为null时mask无法阻止点击 #7872

@Roywhite

Description

@Roywhite
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

4.2.5

Environment

Windows 10 19045.4780, Microsoft Edge 版本 125.0.2535.92,Vue 3.5.8

Reproduction link

https://next.antdv.com/components/tour-cn

Steps to reproduce

将step的target设置为null后,mask区域仍能触发各种事件,官网的也是这样(关于位置的那个例子)

What is expected?

当target为null时,mask区域不触发事件

What is actually happening?

能触发事件

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions