From 17a58dad43a47cda76d8737a3b6238495beabd2a Mon Sep 17 00:00:00 2001 From: Areski Belaid Date: Fri, 17 Mar 2023 14:38:58 +0100 Subject: [PATCH] Update TooltipSlider.tsx fix ForceAlign --- docs/examples/components/TooltipSlider.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/examples/components/TooltipSlider.tsx b/docs/examples/components/TooltipSlider.tsx index 0067ac689..201946e85 100644 --- a/docs/examples/components/TooltipSlider.tsx +++ b/docs/examples/components/TooltipSlider.tsx @@ -22,7 +22,7 @@ const HandleTooltip = (props: { function keepAlign() { rafRef.current = raf(() => { - tooltipRef.current?.forcePopupAlign(); + tooltipRef.current?.forceAlign(); }); }