From 222eca68fee661d73e8a9404df1034004ae9b393 Mon Sep 17 00:00:00 2001 From: Zain Ahmed <30855000+zainbinfurqan@users.noreply.github.com> Date: Thu, 17 Nov 2022 11:14:03 +0500 Subject: [PATCH] On hovering the Link widget, a tooltip should be displayed fixed (#4609) * fixed lint issues * update lint issues * remove all the previous changes in the unrelated files * removed event propogation on mouse over event Co-authored-by: manishkushare --- frontend/src/Editor/Components/Link.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/Editor/Components/Link.jsx b/frontend/src/Editor/Components/Link.jsx index aea55cd5eb..ea3cacbfac 100644 --- a/frontend/src/Editor/Components/Link.jsx +++ b/frontend/src/Editor/Components/Link.jsx @@ -28,8 +28,7 @@ export const Link = ({ height, properties, styles, fireEvent, registerAction }) event.stopPropagation(); fireEvent('onClick'); }} - onMouseOver={(event) => { - event.stopPropagation(); + onMouseOver={() => { fireEvent('onHover'); }} style={{ color: textColor }}