andz-bb / budibase-component-tooltip

A Budibase custom component that lets you add a tooltip to another component

Home Page:https://github.com/budibase/plugins

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

use in tables and layering issue

marian001 opened this issue · comments

commented

Hi,

thanks for the plugin. I noticed to issues:

  1. When it's used within a table, the tooltip is only displayed inside a cell, but is cropped if it needs to go beyond cell borders. It would be good if the tooltip would be displayed above the table irrespective of cell borders.
    image

  2. When I have several icons next to each other and each has a tooltip (with position: Right), the tooltip of e.g. first icon appears below the icon on the right. Also in this case it would help to elevate the tooltip above all other elements.
    image

hey @marian001, thanks so much for raising this one. I have updated this so that the tooltip should show above any other elements. It is still bound by the parent div that it's in so it will be cut off by the edges of the table component - if you would like me to fix this I should be able to reengineer the component to do so but it will take me a bit more time.

updated version 1.4.0
image

case where it doesn't work so well (future fix):
image