mirror of
https://github.com/smartxworks/sunmao-ui.git
synced 2024-11-21 03:15:49 +08:00
Fix the bug that page cannot scroll when chakra dialog is openning.
This commit is contained in:
parent
47a63e00c5
commit
46137aa8d2
@ -146,6 +146,7 @@ export default implementRuntimeComponent({
|
||||
onClose={() => setIsOpen(false)}
|
||||
trapFocus={false}
|
||||
portalProps={containerRef.current ? portalProps : undefined}
|
||||
blockScrollOnMount={false}
|
||||
>
|
||||
<AlertDialogOverlay {...(containerRef.current ? dialogOverlayProps : {})}>
|
||||
<AlertDialogContent
|
||||
|
Loading…
Reference in New Issue
Block a user