ant-design / ant-design

An enterprise-class UI design language and React UI library
https://ant.design
MIT License
90.41k stars 46.39k forks source link

antd tooltip嵌套svg 点击时跳转页面 tooltip会在新页面一直存在 除非刷新 #48679

Closed lhb2631225005 closed 1 week ago

lhb2631225005 commented 2 weeks ago

Reproduction link

https://4x-ant-design.antgroup.com/components/tooltip-cn/#API

Steps to reproduce

antd tooltip嵌套svg 点击时跳转页面 tooltip会在新页面一直存在 除非刷新

What is expected?

antd tooltip嵌套svg 点击时跳转页面 tooltip不会出现在新页面

What is actually happening?

antd tooltip嵌套svg 点击时跳转页面 tooltip会在新页面一直存在 除非刷新

Environment Info
antd undefined
React react 18.2.0
System window10
Browser google 120.0.6099.130

链接是随便弄的 按这个步骤就可以触发

Wxh16144 commented 2 weeks ago

链接是随便弄的 按这个步骤就可以触发

antd 版本没提供啊, 看链接是 v4

📢 v4 维护周期截止

github-actions[bot] commented 2 weeks ago

Hello @lhb2631225005. Please provide a online reproduction by forking codesandbox of antd@5.x or antd@4.x, or provide a minimal GitHub repository. Issues labeled by Need Reproduce will be closed if no activities in 3 days.

你好 @lhb2631225005,我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击这里创建一个 antd@5.xantd@4.x 的 codesandbox,或者提供一个最小化的 GitHub 仓库。3 天内未跟进此 issue 将会被自动关闭。

什么是最小化重现,为什么这是必需的?