Hello Gerrit! Great component. I am using the tooltip with com.vaadin.fl

Hello Gerrit!

Great component.

I am using the tooltip with com.vaadin.flow.component.textfield.TextField. All works fine if the field is enabled. Tip is not visible if the field is disabled.

Is ist possible to show the tip for disabled text fields?

Thank you very much,
Thomas

Hello Thomas,

that is actually a question I asked myself.

Out of the box tippy does not support this kind of behavior.
The workaround proposed by the developer of tippyjs is to wrap the disabled element into another one which in turn registers a tooltip.

see:

  1. [tippyjs issue on github]
    (https://github.com/atomiks/tippyjs/issues/286)
  2. [Tooltips4Vaadin issue on gitlab]
    (https://gitlab.com/gsedlacz/tooltips4vaadin/issues)

If you have an idea on how to implement this feature feel free to comment or even to involve yourself.

Best regards,
Gerrit

Hi Gerrit!

Many thanks for your answer. I placed an icon near by the input field. The icon now is the anchor for my tooltip.

Greetings from to hot Germany,
Thomas