Autohide Tooltip

7 views
Skip to first unread message

Hannes

unread,
May 6, 2017, 12:23:50 AM5/6/17
to GwtBootstrap3
Hi,

I use GWT0.9.3 and have a button as follows:

<a:Tooltip title="{msgs.buttomTitleAddItem}" container="body">
<b:Button ui:field="addItemButton" icon="PLUS"/>
</a:Tooltip>


and in java:

@UiHandler("addItemButton")
void addItemButtonClick(final ClickEvent event) {
addItemCommand.execute();
}

As I understand this should be trigger HOVER. But even when i set this with <a:Tooltip trigger="HOVER" title="{msgs.buttomTitleAddItem}" container="body">
when I click rapidly and move the mouse around sometimes the tooltip stays open even when I move away the mouse.


Any idea of how I could automically HIDE the tooltip when the button is clicked?

Best regards
Hannes

Reply all
Reply to author
Forward
0 new messages