We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f24523 commit d805369Copy full SHA for d805369
1 file changed
gwt-material/src/main/java/gwt/material/design/client/ui/MaterialTooltip.java
@@ -206,6 +206,11 @@ public void setWidget(final Widget widget) {
206
}
207
208
if (this.widget.isAttached()) {
209
+ widget.addAttachHandler(event -> {
210
+ if (!event.isAttached()) {
211
+ unload();
212
+ }
213
+ });
214
reload();
215
} else {
216
// Smart detect the attachment and detachment of widget to update the tooltip
0 commit comments