From 32f72d9b11232fefe73da83c94d72383a1b3b470 Mon Sep 17 00:00:00 2001 From: Jacek Nitychoruk Date: Mon, 17 Jul 2023 18:42:31 +0200 Subject: [PATCH] Fix: `MessageTooltip` created in position from previous render [web] (#242) --- web/utils/tooltip-action-utils.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/web/utils/tooltip-action-utils.js b/web/utils/tooltip-action-utils.js index 281f0398e1..c3263ad4e7 100644 --- a/web/utils/tooltip-action-utils.js +++ b/web/utils/tooltip-action-utils.js @@ -405,7 +405,7 @@ function useMessageTooltip({ setTooltipMessagePosition(messagePosition); const tooltipResult = createTooltip({ - tooltipMessagePosition, + tooltipMessagePosition: messagePosition, tooltipSize, availablePositions, containsInlineEngagement, @@ -437,7 +437,6 @@ function useMessageTooltip({ renderTooltip, threadInfo, tooltipActions, - tooltipMessagePosition, tooltipSize, ], );