Skip to content
This repository was archived by the owner on Dec 14, 2021. It is now read-only.

Commit c7b7941

Browse files
Merge pull request #25 from mendix/fix/time
Fixing widget rendering time
2 parents 4a0db43 + 4cc59e6 commit c7b7941

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "BootstrapTooltip",
3-
"version": "3.2.2",
3+
"version": "3.2.3",
44
"description": "This widget adds a tooltip to an user defined field, containing for example help text or extra information.",
55
"license": "Apache-2.0",
66
"author": "Mendix Technology B.V.",

src/BootstrapTooltip.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ export default declare("BootstrapTooltip.widget.BootstrapTooltip", [_WidgetBase,
3030
if (this.tooltipMessageMicroflow) {
3131
this._execMf(this.tooltipMessageMicroflow, obj ? obj.getGuid() : null, message => {
3232
this._tooltipText = message;
33-
setTimeout(() => this._initializeTooltip(callback), 10);
33+
setTimeout(() => this._initializeTooltip(callback), 1000);
3434
});
3535
} else {
3636
if (this.tooltipMessageString) {
3737
this._tooltipText = this.tooltipMessageString;
3838
}
39-
setTimeout(() => this._initializeTooltip(callback), 10);
39+
setTimeout(() => this._initializeTooltip(callback), 1000);
4040
}
4141
},
4242

src/BootstrapTooltipContext.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default declare("BootstrapTooltip.widget.BootstrapTooltipContext", [_boot
1414
var guid = obj ? obj.getGuid() : null;
1515
this._execMf(this.tooltipMessageMicroflow, guid, message => {
1616
this._tooltipText = message;
17-
setTimeout(() => this._initializeTooltip(callback), 10);
17+
setTimeout(() => this._initializeTooltip(callback), 1000);
1818
});
1919
return;
2020
}
@@ -27,7 +27,7 @@ export default declare("BootstrapTooltip.widget.BootstrapTooltipContext", [_boot
2727
}
2828
}
2929

30-
setTimeout(() => this._initializeTooltip(callback), 10);
30+
setTimeout(() => this._initializeTooltip(callback), 1000);
3131
},
3232

3333
_resetSubscriptions: function() {

0 commit comments

Comments
 (0)