fix: create issue modal closing on clicking on Grammarly recommendation (#299)

fixed it by not closing modal on outside click
This commit is contained in:
Dakshesh Jain 2023-02-17 20:10:21 +05:30 committed by GitHub
parent d71cf567e9
commit 11a36b4398
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -206,7 +206,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={handleClose}> <Dialog as="div" className="relative z-20" onClose={() => {}}>
<Transition.Child <Transition.Child
as={React.Fragment} as={React.Fragment}
enter="ease-out duration-300" enter="ease-out duration-300"