From ac116876164c6354f3bf462886a62da315f616af Mon Sep 17 00:00:00 2001 From: James-9696 Date: Sun, 17 Mar 2024 19:20:06 -0700 Subject: [PATCH] feat: switch browser address, error triggered close event issue when Modal is closed --- packages/renderless/src/modal/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/renderless/src/modal/index.ts b/packages/renderless/src/modal/index.ts index 02542c84c9..a0318d87ae 100644 --- a/packages/renderless/src/modal/index.ts +++ b/packages/renderless/src/modal/index.ts @@ -390,7 +390,7 @@ export const handleGlobalKeydownEvent = } export const handleHashChange = (api: IModalApi) => (): void => { - api.close('close') + api.close('hide') } export const getBox =