Message Delete Modal: Support <Enter> key (#461)

This commit is contained in:
Shahaf 2025-09-05 20:43:00 +03:00 committed by GitHub
parent db3b855a4b
commit 94b3f4fc61
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -430,7 +430,7 @@ const DeleteMessageModal: FC<OwnProps & StateProps> = ({
<Modal
isOpen={isOpen}
onClose={onCloseHandler}
onEnter={canDeleteForAll ? undefined : handleDeleteMessageList}
onEnter={handleDeleteMessageList}
className={styles.root}
>
<div className={styles.main}>