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

添加第 2 个弹窗无法显示 #2578

Closed
cnlon opened this issue Oct 23, 2023 · 2 comments
Closed

添加第 2 个弹窗无法显示 #2578

cnlon opened this issue Oct 23, 2023 · 2 comments
Assignees
Labels
WIP Working in Progress / 有人跟进中
Milestone

Comments

@cnlon
Copy link

cnlon commented Oct 23, 2023

问题描述:添加第 2 个弹窗无法显示
复现步骤:官方示例 也能复现,连续拖入 2 个高级对话框,第 2 个无法显示

@cnlon
Copy link
Author

cnlon commented Oct 25, 2023

拖入第二个组件后组件被 LeafWrapper 了 2 次,导致渲染 2 个弹窗(然后估计是 key 相等或什么原因导致了没有显示)
image

删除这行代码可以恢复正常,但不知此前添加这样代码是要解决什么问题? @liujuping @rainke
ca6fe7c#diff-4c87f65a8355f4a627d1577c405163e703dc9040db04fdc5a3f16e9fd89cc22dR619
image

@liujuping
Copy link
Collaborator

这里的组件被 Hoc 覆盖了,导致出现了问题。已经提 PR 进行修复了。

@liujuping liujuping added the WIP Working in Progress / 有人跟进中 label Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WIP Working in Progress / 有人跟进中
Projects
None yet
Development

No branches or pull requests

2 participants