From 6d5be26132c9ac58249ae7efb47d6ce0f4658d26 Mon Sep 17 00:00:00 2001 From: ayush Date: Sun, 27 Feb 2022 12:01:12 +0530 Subject: [PATCH] fix(file): remove preventDefault to allow user to scroll through graph. close #21 --- src/LineGraph/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/LineGraph/index.tsx b/src/LineGraph/index.tsx index 98a92a1..a44a7bc 100644 --- a/src/LineGraph/index.tsx +++ b/src/LineGraph/index.tsx @@ -102,7 +102,8 @@ const LineGraph = (props: LineGraphProps) => { const handleTooltip = (e: EventType) => { - e.preventDefault(); + // preventing default action causing scrolling issue for end user + // e.preventDefault(); const { onMouseEnter } = props;