increase tooltip timeout delay / add touchHold option

This commit is contained in:
KDSBrowne 2018-01-10 11:45:12 -08:00
parent 7e75dc08f4
commit 36980f7525

View File

@ -36,6 +36,7 @@ class Tooltip extends Component {
dynamicTitle: this.dynamicTitle,
delay: this.delay,
onShow: this.onShow,
touchHold: true,
};
this.tooltip = Tippy(`#${this.tippySelectorId}`, options);
@ -44,7 +45,7 @@ class Tooltip extends Component {
onShow() {
window.setTimeout(() => {
this.tooltip.tooltips[0].hide();
}, 1500);
}, 5000);
}
render() {