Links in frontmatter don't open preview on hover

Steps to reproduce

  1. Open Sandbox Vault
  2. open a note and add frontmatter (— in first line of the note)
  3. give it a name “source”
  4. enter an internal link as value
  5. switch to preview mode
  6. hover the link

Did you follow the troubleshooting guide? [Y/N]


Expected result

The preview window should open with a preview of the linked note

Actual result

Nothing happens


Obsidian version: v1.5.12
Installer version: v1.5.12
Operating system: Darwin Kernel Version 22.4.0: Mon Mar 6 20:59:28 PST 2023; root:xnu-8796.101.5~3/RELEASE_ARM64_T6000 22.4.0
Login status: not logged in
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on


Additional information

When hovering the link and toggling editing and preview mode (cmd + E on MacOS), the preview shows up as expected. I’ve tried using css to disable pointer events on the value and keep them enable just on the link itself but didn’t manage to get the behavior I wanted.

Edit: I’m not sure if this is a bug or the preview was never intended to happen in frontmatter links. If this is the case, I’ll gladly create a feature request.

Thanks! Currently the hover preview for properties is set to always require Ctrl (command on macOS) but I agree this should respect the page preview settings instead.


Oh that’s great to know, thank you so much!
That’ll surely do for now.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.