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")}