From 66b2a8f4bc6541b78b4da1f1c61960c109e4d75e Mon Sep 17 00:00:00 2001 From: totregex Date: Fri, 15 Nov 2024 13:21:54 +0530 Subject: [PATCH] fix tooltip hover issue --- components/ml-assistant/ml-assistant.js | 15 +++++++++++++++ git | 0 2 files changed, 15 insertions(+) create mode 100644 git diff --git a/components/ml-assistant/ml-assistant.js b/components/ml-assistant/ml-assistant.js index f2fc2fa24..3a44a45a6 100644 --- a/components/ml-assistant/ml-assistant.js +++ b/components/ml-assistant/ml-assistant.js @@ -153,6 +153,11 @@ Assistant.prototype.__refreshUI = async function() { placement: 'left', delay: 300, theme: 'translucent', + interactive: true, + trigger: 'mouseenter focus', + aria: { + content: 'describedby', + }, }); const thresholdLabel = this.settingZone.threshold.querySelector('pre'); @@ -162,6 +167,11 @@ Assistant.prototype.__refreshUI = async function() { placement: 'left', delay: 300, theme: 'translucent', + interactive: true, + trigger: 'mouseenter focus', + aria: { + content: 'describedby', + }, }); const overlapLabel = this.settingZone.overlap.querySelector('pre'); @@ -171,6 +181,11 @@ Assistant.prototype.__refreshUI = async function() { placement: 'left', delay: 300, theme: 'translucent', + interactive: true, + trigger: 'mouseenter focus', + aria: { + content: 'describedby', + }, }); this.modelPredictImgContainer = this.view.querySelector('.model-predict-image-container'), diff --git a/git b/git new file mode 100644 index 000000000..e69de29bb