From 4f5282aca0fc492f424bef58ac6d5bd88a8ed1b8 Mon Sep 17 00:00:00 2001 From: literat Date: Tue, 23 Jan 2024 11:03:16 +0100 Subject: [PATCH] fixup! Feat(web-twig): Introduce advanced Tooltip usage supported by FloatingUI --- .../components/Tooltip/__tests__/__fixtures__/tooltip.twig | 1 + .../Tooltip/__tests__/__snapshots__/tooltip.twig.snap.html | 2 +- .../__tests__/__snapshots__/tooltipWrapper.twig.snap.html | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/web-twig/src/Resources/components/Tooltip/__tests__/__fixtures__/tooltip.twig b/packages/web-twig/src/Resources/components/Tooltip/__tests__/__fixtures__/tooltip.twig index 355d7b2a19..c2f74a4886 100644 --- a/packages/web-twig/src/Resources/components/Tooltip/__tests__/__fixtures__/tooltip.twig +++ b/packages/web-twig/src/Resources/components/Tooltip/__tests__/__fixtures__/tooltip.twig @@ -5,6 +5,7 @@ closeLabel="Close tooltip" id="my-tooltip" isDismissible + enableControlledPlacement placement="right-start" > Hello there! diff --git a/packages/web-twig/src/Resources/components/Tooltip/__tests__/__snapshots__/tooltip.twig.snap.html b/packages/web-twig/src/Resources/components/Tooltip/__tests__/__snapshots__/tooltip.twig.snap.html index 8ff7ee1cb2..c8d02992f2 100644 --- a/packages/web-twig/src/Resources/components/Tooltip/__tests__/__snapshots__/tooltip.twig.snap.html +++ b/packages/web-twig/src/Resources/components/Tooltip/__tests__/__snapshots__/tooltip.twig.snap.html @@ -10,7 +10,7 @@ -
+
Hello there! diff --git a/packages/web-twig/src/Resources/components/Tooltip/__tests__/__snapshots__/tooltipWrapper.twig.snap.html b/packages/web-twig/src/Resources/components/Tooltip/__tests__/__snapshots__/tooltipWrapper.twig.snap.html index 2f71beefb3..3aa1d879ee 100644 --- a/packages/web-twig/src/Resources/components/Tooltip/__tests__/__snapshots__/tooltipWrapper.twig.snap.html +++ b/packages/web-twig/src/Resources/components/Tooltip/__tests__/__snapshots__/tooltipWrapper.twig.snap.html @@ -5,7 +5,7 @@ -
+
content