forked from github/plane
Closing of dialog when we click around the dialog (#1364)
This commit is contained in:
parent
5773ff2afd
commit
82ff786666
@ -188,7 +188,7 @@ export const CreateUpdateIssueModal: React.FC<IssuesModalProps> = ({
|
|||||||
payload,
|
payload,
|
||||||
user
|
user
|
||||||
)
|
)
|
||||||
.then((res) => {
|
.then(() => {
|
||||||
setToastAlert({
|
setToastAlert({
|
||||||
type: "success",
|
type: "success",
|
||||||
title: "Success!",
|
title: "Success!",
|
||||||
@ -323,7 +323,7 @@ export const CreateUpdateIssueModal: React.FC<IssuesModalProps> = ({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Transition.Root show={isOpen} as={React.Fragment}>
|
<Transition.Root show={isOpen} as={React.Fragment}>
|
||||||
<Dialog as="div" className="relative z-20" onClose={() => {}}>
|
<Dialog as="div" className="relative z-20" onClose={() => handleClose()}>
|
||||||
<Transition.Child
|
<Transition.Child
|
||||||
as={React.Fragment}
|
as={React.Fragment}
|
||||||
enter="ease-out duration-300"
|
enter="ease-out duration-300"
|
||||||
|
Loading…
Reference in New Issue
Block a user