fix(client): dangling tooltips after closing split

This commit is contained in:
Elian Doran 2025-09-18 15:30:11 +03:00
parent c4560c2bc8
commit a9f5b44fac
No known key found for this signature in database

View File

@ -433,6 +433,9 @@ export default class TabManager extends Component {
$autocompleteEl.autocomplete("close");
}
// close dangling tooltips
$("body > div.tooltip").remove();
const noteContextsToRemove = noteContextToRemove.getSubContexts();
const ntxIdsToRemove = noteContextsToRemove.map((nc) => nc.ntxId);