From 24656e777ea84a99f251492f55bd74a600832000 Mon Sep 17 00:00:00 2001 From: Jayabharathi S <51400667+jayabha-jayas@users.noreply.github.com> Date: Wed, 6 Nov 2024 19:09:27 +0530 Subject: [PATCH] Fix : Enter hotKey issue onPress of ConfirmationModal (#7802) **Description** Fixes https://github.com/twentyhq/twenty/issues/7753 After entering proper value to input and pressing Enter, respective action is being performed for all the popus. This fix is is applicable to all the scenarios mentioned in https://github.com/twentyhq/twenty/issues/6663 as well https://github.com/user-attachments/assets/b7ed387f-1f36-4c93-b795-15a7b95c9958 Signed-off-by: Jayabharathi S Co-authored-by: Jayabharathi S Co-authored-by: Lucas Bordeau --- .../src/modules/ui/layout/modal/components/ConfirmationModal.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/twenty-front/src/modules/ui/layout/modal/components/ConfirmationModal.tsx b/packages/twenty-front/src/modules/ui/layout/modal/components/ConfirmationModal.tsx index a3c951bba6..3bac8e2980 100644 --- a/packages/twenty-front/src/modules/ui/layout/modal/components/ConfirmationModal.tsx +++ b/packages/twenty-front/src/modules/ui/layout/modal/components/ConfirmationModal.tsx @@ -136,6 +136,7 @@ export const ConfirmationModal = ({ onChange={handleInputConfimrationValueChange} placeholder={confirmationPlaceholder} fullWidth + disableHotkeys key={'input-' + confirmationValue} />