obsidian-folder-notes icon indicating copy to clipboard operation
obsidian-folder-notes copied to clipboard

Ensure the nav-folder-title was actually clicked (fronstmost)

Open skyfullofdust opened this issue 5 months ago • 2 comments

Coming from https://github.com/mdelobelle/metadatamenu/issues/649 - is it possible to make sure that the click on elements with the class nav-folder-title was actually clicked and not on another visible child item? There is already a check for nav-folder-title-content, maybe there's an easy solution to determine if nav-folder-title-content was actually clicked and therefore frontmost?

skyfullofdust avatar Aug 01 '25 01:08 skyfullofdust

You mean like this? Image

LostPaul avatar Aug 12 '25 18:08 LostPaul

Kinda yes and kinda no. Saw this setting in the code, but wanted to be also able to click between the folder name and the icon, but probably is enabling this setting a better solution. But I think that registering the event listener on the folder class itself would be even cleaner, no?

skyfullofdust avatar Aug 14 '25 07:08 skyfullofdust