My datatable loads a new table every time for the year displayed in the input field, if it is changed. The tooltip works as intended if I wait for the datatable to load completely. If I hover an element with a tooltip while a new table is loading then the tooltip will be stuck.
How can I make the stuck tooltip dissapear in this case?
I have tried the solutions here: show bootstrap tooltip on load and auto hide after few seconds Bootstrap tooltip doesn't go away with a back button click and AJAX calls