From bb5217948dbbf5eb6a291b7a72de1882ad7d6fff Mon Sep 17 00:00:00 2001 From: Vladimir Enchev Date: Wed, 20 Nov 2024 14:00:11 +0200 Subject: [PATCH] Tooltip top/left position fixed --- Radzen.Blazor/wwwroot/Radzen.Blazor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Radzen.Blazor/wwwroot/Radzen.Blazor.js b/Radzen.Blazor/wwwroot/Radzen.Blazor.js index afb3892eaa1..791a28a023b 100644 --- a/Radzen.Blazor/wwwroot/Radzen.Blazor.js +++ b/Radzen.Blazor/wwwroot/Radzen.Blazor.js @@ -1132,8 +1132,8 @@ window.Radzen = { popup.style.display = 'block'; var rect = popup.getBoundingClientRect(); - rect.width = rect.width + 20; - rect.height = rect.height + 20; + rect.width = x ? rect.width + 20 : rect.width; + rect.height = y ? rect.height + 20 : rect.height; var smartPosition = !position || position == 'bottom';