Skip to content
This repository was archived by the owner on Aug 29, 2024. It is now read-only.

Commit 5d240f4

Browse files
committed
fix: destroy on hide to prevent multiple-mount caused conflict
1 parent b4d9e3e commit 5d240f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/components/Captcha/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ const Captcha = ({
154154
visible={isCaptchaBodyOpen}
155155
onVisibleChange={handleCaptchaBodyVisibleChange}
156156
placement="top"
157-
forceRender={true}
157+
destroyTooltipOnHide={true}
158158
motion={{
159159
motionName: "nc-popup-zoom",
160160
motionDeadline: 1000,

0 commit comments

Comments
 (0)