From 0d8dd165c4063e1a022d92d7e1ca02e8d8e0a75c Mon Sep 17 00:00:00 2001 From: Dennis Kigen Date: Thu, 17 Nov 2022 14:27:27 +0300 Subject: [PATCH] (feat) Delay display of menu item tooltips by 500ms (#466) --- packages/esm-patient-registration-app/src/add-patient-link.tsx | 1 + .../src/patient-search-icon/patient-search-icon.component.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/esm-patient-registration-app/src/add-patient-link.tsx b/packages/esm-patient-registration-app/src/add-patient-link.tsx index eb2bc9144..19d77bdc7 100644 --- a/packages/esm-patient-registration-app/src/add-patient-link.tsx +++ b/packages/esm-patient-registration-app/src/add-patient-link.tsx @@ -11,6 +11,7 @@ export default function Root() { diff --git a/packages/esm-patient-search-app/src/patient-search-icon/patient-search-icon.component.tsx b/packages/esm-patient-search-app/src/patient-search-icon/patient-search-icon.component.tsx index 10258caa1..99f3afcd2 100644 --- a/packages/esm-patient-search-app/src/patient-search-icon/patient-search-icon.component.tsx +++ b/packages/esm-patient-search-app/src/patient-search-icon/patient-search-icon.component.tsx @@ -81,6 +81,7 @@ const PatientSearchLaunch: React.FC = () => { aria-label={t('searchPatient', 'Search Patient')} aria-labelledby="Search Patient" className={`${showSearchInput ? styles.activeSearchIconButton : styles.searchIconButton}`} + enterDelayMs={500} name="SearchPatientIcon" onClick={handleGlobalAction}> {showSearchInput ? : }