Skip to content

Commit

Permalink
Tooltip top/left position fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
enchev committed Nov 20, 2024
1 parent c226971 commit bb52179
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Radzen.Blazor/wwwroot/Radzen.Blazor.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down

0 comments on commit bb52179

Please sign in to comment.