Skip to content
Snippets Groups Projects
Commit d58c16cd authored by KDSBrowne's avatar KDSBrowne
Browse files

fix tooltip label not updating

parent ec15ad9a
No related branches found
No related tags found
No related merge requests found
......@@ -23,6 +23,7 @@ class Tooltip extends Component {
const expandedEl = tooltipTarget.parentElement.querySelector('[aria-expanded="true"]');
const isTarget = expandedEl === tooltipTarget;
if (expandedEl && !isTarget) return;
tip.set({ content: tooltipTarget.lastChild.innerText });
tip.show();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment