Steps to reproduce
- Open the Sandbox vault.
- Open the developer console and paste:
(() => {
const dm = app.dragManager, proto = Object.getPrototypeOf(dm);
let moves = 0, highlightReAdds = 0, labelReShows = 0, clearedEl = null, hiddenText = null;
dm.updateHover = function (el, cls) {
if (!el && this.hoverEl) clearedEl = this.hoverEl;
else if (el && el === clearedEl) highlightReAdds++;
return proto.updateHover.call(this, el, cls);
};
dm.setAction = function (text) {
if (!text && this.actionEl?.style.display !== 'none') hiddenText = this.actionEl?.textContent;
else if (text && text === hiddenText) labelReShows++;
return proto.setAction.call(this, text);
};
const countMove = () => moves++;
const endOfDispatch = () => { clearedEl = hiddenText = null; };
window.addEventListener('dragover', countMove, true);
window.addEventListener('dragover', endOfDispatch);
window.addEventListener('dragend', () => {
console.log(`${moves} dragover events: highlight removed and re-added ${highlightReAdds}x, label hidden and re-shown ${labelReShows}x`);
window.removeEventListener('dragover', countMove, true);
window.removeEventListener('dragover', endOfDispatch);
delete dm.updateHover;
delete dm.setAction;
}, { capture: true, once: true });
})();
- In the file explorer, drag
Start hereand hold it over theFormattingfolder for a few seconds, then press Esc. - Read the line printed in the console.
Did you read and follow the Troubleshooting Guide ? [Yes/No]
Yes
Expected result
While the pointer stays over one drop target, its highlight and the drag label stay put. The console reports 0 re-adds.
Actual result
On every dragover event, Obsidian removes the drop highlight and hides the drag label, then the drop target immediately puts both back: 592 dragover events: highlight removed and re-added 592x, label hidden and re-shown 592x.
Environment
SYSTEM INFO:
Obsidian version: 1.14.4
Installer version: 1.14.4
Operating system: Darwin Kernel Version 27.0.0: Tue Aug 11 21:05:48 PDT 2026; root:xnu-13432.1.9~1/RELEASE_ARM64_T6041 27.0.0
Login status: logged in
Language: en
Catalyst license: supporter
Insider build toggle: on
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: off
Plugins installed: 0
Plugins enabled: 0
RECOMMENDATIONS:
none
Additional information
DragManager.onDragOverFirst checks isDragOverHandled in a microtask, which runs before the event reaches any drop target, so the check always fails.
Each round trip restyles the drop target, which is cheap in the sandbox vault but kept the main thread ~99% busy while dragging a card inside a community plugin’s Bases view in a vault with heavy CSS. Deferring the reset until the event finished dispatching brought that down to 2%, with the highlight and label still changing and clearing correctly.