-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Open
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
Version
4.2.6
Environment
mac os 26.2 arm64, chrome 143.0.7499.170, vue 3.5.26
Reproduction link
https://github.com/vueComponent/ant-design-vue/blob/main/components/vc-trigger/Trigger.tsx
Steps to reproduce
关键文件
- https://github.com/vueComponent/ant-design-vue/blob/main/components/vc-trigger/Trigger.tsx
- https://github.com/vueComponent/ant-design-vue/blob/main/components/_util/PortalWrapper.tsx
使用方式
<a-dropdown force-render />What is expected?
https://github.com/vueComponent/ant-design-vue/blob/main/components/vc-trigger/Trigger.tsx
在700行使用 Portal(PortalWrapper) 可以正确传递 forceRender 属性
What is actually happening?
Trigger.tsx 中使用的 Portal 来自于 PortalWrapper,里面并没有正确处理 forceRender 属性,导致弹出层所有组件没有提前被渲染,其表现与 antd 3.2.14 版本不符,实际使用过程中导致卡顿。
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels