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

Popup 组件 使用 PopupPlugin 给元素配置hover效果时,表现异常 #3220

Open
sevencai opened this issue Nov 20, 2024 · 1 comment
Labels
💭 discussion we are discussing

Comments

@sevencai
Copy link

如下图所示,在官方提供的demo示例中,使用popupplugin弹出时

若在组件初始化时调用popupplugin,且trigger的类型是hover时,组件表现异常

image

具体异常的点在:

  1. 一进入就展示了popup内容
  2. hover时,无法展示popup内容

复现地址:https://stackblitz.com/edit/react-o3zkpk?file=src%2Fdemo.tsx,node_modules%2Ftdesign-react%2Fes%2Fpopup%2Findex.d.ts,node_modules%2Ftdesign-react%2Fes%2Fpopup%2FPopupPlugin.d.ts,node_modules%2Ftdesign-react%2Fes%2Fpopup%2Ftype.d.ts

Copy link
Contributor

👋 @sevencai,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@HaixingOoO HaixingOoO added the 💭 discussion we are discussing label Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💭 discussion we are discussing
Projects
None yet
Development

No branches or pull requests

2 participants