portfolio icon indicating copy to clipboard operation
portfolio copied to clipboard

Tooltip is cut off on the right for small diagrams

Open caratage opened this issue 3 years ago • 0 comments
trafficstars

Describe the bug When using a diagram in multi-row dashboard with smaller columns than the actual tooltip width, the tooltip popover is cut off for the right most aligned diagram.

To Reproduce

  1. Create 4-column dashboard.
  2. Insert diagram widget on right most column.
  3. Click-hover over diagram to show tooltip.
  4. Observe tooltip is cut off

Expected behavior Change alignment of tooltip to "right of diagram window", dependent on cursor position on the x-axis within the respective diagram (and possibly only if diagram width is smaller than tooltip popover width). Similar to the already implemented function for tooltip position when click-moving cursor on y-axis within the diagram.

Screenshots tooltip-cut-off

Desktop (please complete the following information):

  • OS: macOS 12.3.1
  • Version 0.57.0

caratage avatar Apr 04 '22 12:04 caratage