From 86cb823172887ab0715226681bca525231e5a585 Mon Sep 17 00:00:00 2001 From: Kamlesh Singh Bisht Date: Thu, 24 Oct 2024 11:51:46 +0530 Subject: [PATCH] [INJIWEB-1000]: Fix Hamburger Menu Overlap with Logo (#167) * [INJIWEB-1000]: Fix Hamburger Menu Overlap with Logo Signed-off-by: Kamlesh Singh Bisht * [INJIWEB-1000]: Fix Hamburger Not-Closing Signed-off-by: Kamlesh Singh Bisht --------- Signed-off-by: Kamlesh Singh Bisht --- inji-web/src/components/PageTemplate/Header.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/inji-web/src/components/PageTemplate/Header.tsx b/inji-web/src/components/PageTemplate/Header.tsx index 0b4cda2..676df4c 100644 --- a/inji-web/src/components/PageTemplate/Header.tsx +++ b/inji-web/src/components/PageTemplate/Header.tsx @@ -16,13 +16,13 @@ export const Header: React.FC = () => {
-
-
setIsOpen(open => !open)} onKeyUp={() => setIsOpen(open => !open)}> +
+
setIsOpen(open => !open)} onKeyUp={() => setIsOpen(open => !open)}>
navigate("/")} + onMouseDown={() => navigate("/")} onKeyUp={() => navigate("/")}> {
  • navigate("/help") } + onMouseDown={() => navigate("/help") } onKeyUp={() => navigate("/help") } role="button" tabIndex={0} @@ -61,14 +61,14 @@ export const Header: React.FC = () => { role="button" tabIndex={0} onKeyUp={() => {window.open("https://docs.mosip.io/inji/inji-web/overview", "_blank","noopener");setIsOpen(false)}} - onClick={() => {window.open("https://docs.mosip.io/inji/inji-web/overview", "_blank","noopener");setIsOpen(false)}}> + onMouseDown={() => {window.open("https://docs.mosip.io/inji/inji-web/overview", "_blank","noopener");setIsOpen(false)}}> {t("Header.aboutInji")}
    {navigate("/help");setIsOpen(false)}} - onClick={() => {navigate("/help");setIsOpen(false)}} + onMouseDown={() => {navigate("/help");setIsOpen(false)}} className="text-iw-title cursor-pointer py-5 w-full inline-block sm:hidden"> {t("Header.help")}