fix: fix backdrop layer prevent default behavior

This commit is contained in:
unix
2020-05-11 00:20:27 +08:00
parent 5062443d7b
commit 60827e86c4

View File

@@ -25,7 +25,6 @@ const Backdrop: React.FC<React.PropsWithChildren<BackdropProps>> = React.memo(
}, [])
const childrenClickHandler = useCallback((event: MouseEvent<HTMLElement>) => {
event.stopPropagation()
event.preventDefault()
}, [])
return (