Fix tooltip performances (#9930)
Rendering the Tooltip is creating performance issues on the whole app. In this PR we only render the tooltip on hover
This commit is contained in:
@ -50,6 +50,7 @@ export type AppTooltipProps = {
|
||||
positionStrategy?: PositionStrategy;
|
||||
clickable?: boolean;
|
||||
width?: string;
|
||||
isOpen?: boolean;
|
||||
};
|
||||
|
||||
export const AppTooltip = ({
|
||||
@ -65,6 +66,7 @@ export const AppTooltip = ({
|
||||
children,
|
||||
clickable,
|
||||
width,
|
||||
isOpen,
|
||||
}: AppTooltipProps) => {
|
||||
const delayInMs =
|
||||
delay === TooltipDelay.noDelay
|
||||
@ -89,6 +91,7 @@ export const AppTooltip = ({
|
||||
children,
|
||||
clickable,
|
||||
width,
|
||||
isOpen,
|
||||
}}
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user