Sometimes while using dataview (expecially dataviewjs) the .is-unresolved
tag is not added to missing pages, making all the links being active.
The discussion in dataview github page on this issue came to conclusion that that is some obsidian bug, not the plugin, “since all Dataview is doing is calling the obsidian markdown API (MarkdownRenderer.renderMarkdown
), which is actually responsible for rendering links.” Check the original comment here
On more complex pages, where dataview pulls the information from tens of files, the behaviour is even weirder: some links to non-existent pages are rendered correctly, and some are not AND after appr. 5 sec later after a momentary flash all links are rendered as “exsisting”.
Steps to reproduce:
- Open sandbox vault
- Install Dataview plugin
- Enable Java Script and inline JavaScript queries in settings
- Paste code below:
```dataviewjs
dv.span(
`${dv.fileLink('page 1')}
${dv.fileLink('page 2')}`
)
```