I am seeing inconsistent wrapping behaviour using the ComponentFactory Tooltip. I have a simple method to create a Tooltip
public static Tooltip makeTooltip(String mainText, TooltipPosition t)
{
Tooltip tooltip = new Tooltip();
tooltip.setPosition(t);
Paragraph p1 = new Paragraph();
p1.getElement().setProperty("innerHTML",mainText);
tooltip.add(p1);
return tooltip;
}
I have applied to a component on a Person Form and a component on a Card List), using the V19 starter App. The tooltip wraps correctly on the form, but does not wrap on the Card. - see image uploaded.