diff --git a/packages/web-react/src/components/Tooltip/demo/TooltipAdvancedFloating.tsx b/packages/web-react/src/components/Tooltip/demo/TooltipAdvancedFloating.tsx index 14afce0869..5afd2bb83c 100644 --- a/packages/web-react/src/components/Tooltip/demo/TooltipAdvancedFloating.tsx +++ b/packages/web-react/src/components/Tooltip/demo/TooltipAdvancedFloating.tsx @@ -72,12 +72,12 @@ const TooltipAdvancedFloating = () => { return (
-

+

Try scrolling the frame or resizing the window to see how the Tooltip behaves. The Floating UI library is trying to keep the Tooltip in the viewport and it is also flipping, shifting and resizing the Tooltip when it is not possible to keep it in the viewport.

- + setFlip(!flip)} /> { setShift(!shift)} /> setSize(!size)} /> - + @@ -67,7 +67,7 @@ id="my-advanced-tooltip" placement="top-start" flipFallbackAxisSideDirection="top, right, bottom" - isDismissible + isDismissible isOpen > This long tooltip is flipping, resizing and shifting to stay in the viewport. diff --git a/packages/web-twig/src/Resources/components/Tooltip/stories/TooltipPlacements.twig b/packages/web-twig/src/Resources/components/Tooltip/stories/TooltipPlacements.twig index f67d8e88af..4f1a899e8d 100644 --- a/packages/web-twig/src/Resources/components/Tooltip/stories/TooltipPlacements.twig +++ b/packages/web-twig/src/Resources/components/Tooltip/stories/TooltipPlacements.twig @@ -30,8 +30,8 @@ - - Click
the dots!
+ + Click
the dots!
bottom