Skip to content

Commit

Permalink
Merge pull request #1041 from rajku-dev/fix/tooltip-hover
Browse files Browse the repository at this point in the history
[FIX] Tooltip Inaccessible on Hover in Annotation Assistant (#994)
  • Loading branch information
birm authored Nov 29, 2024
2 parents f42d59a + 66b2a8f commit b55dfc7
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions components/ml-assistant/ml-assistant.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand All @@ -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');
Expand All @@ -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'),

Expand Down
Empty file added git
Empty file.

0 comments on commit b55dfc7

Please sign in to comment.