fix: issues list modal not closing on escape key (#3463)

This commit is contained in:
Aaryan Khandelwal 2024-01-25 13:30:44 +05:30 committed by GitHub
parent eae32593cb
commit 2956c43ed5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -88,7 +88,7 @@ export const ExistingIssuesListModal: React.FC<Props> = (props) => {
return (
<>
<Transition.Root show={isOpen} as={React.Fragment} afterLeave={() => setSearchTerm("")} appear>
<Dialog as="div" className="relative z-20" onClose={() => {}}>
<Dialog as="div" className="relative z-20" onClose={handleClose}>
<Transition.Child
as={React.Fragment}
enter="ease-out duration-300"