Open schel4ok opened 4 years ago
Hi! I was with the same error, and I tried to encapsulate the element that you want to show a tooltip with a div element with the properties that need like that:
React component:
import React from 'react';
export function Tooltip({ position, label, children, ...props }) {
return (
<div
data-microtip-position={position}
aria-label={label}
role="tooltip"
{...props}
>
{children}
</div>
);
}
Thanks!
Doing like that you will not see tooltip on mouse hover.
It works only for link tags like that
But documentation says you can use it on any tag