mirror of
https://github.com/zhigang1992/react.git
synced 2026-03-26 06:55:07 +08:00
fix: fix backdrop layer prevent default behavior
This commit is contained in:
@@ -25,7 +25,6 @@ const Backdrop: React.FC<React.PropsWithChildren<BackdropProps>> = React.memo(
|
||||
}, [])
|
||||
const childrenClickHandler = useCallback((event: MouseEvent<HTMLElement>) => {
|
||||
event.stopPropagation()
|
||||
event.preventDefault()
|
||||
}, [])
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user