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 <kushare.manish9@gmail.com>
This commit is contained in:
Zain Ahmed 2022-11-17 11:14:03 +05:00 committed by GitHub
parent 89c6663265
commit 222eca68fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 }}