Skip to content

Commit

Permalink
feat: switch browser address, error triggered close event issue when …
Browse files Browse the repository at this point in the history
…Modal is closed (#1493)
  • Loading branch information
James-9696 authored Mar 30, 2024
1 parent fba7fa0 commit bb8c724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/renderless/src/modal/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ export const handleGlobalKeydownEvent =
}

export const handleHashChange = (api: IModalApi) => (): void => {
api.close('close')
api.close('hide')
}

export const getBox =
Expand Down

0 comments on commit bb8c724

Please sign in to comment.