Heading link jumps to end of section instead of beginning

Steps to reproduce

  1. Make a note with 3 headings, each followed by text long enough to scroll.
  2. In another note, link to the first note’s second heading.
  3. Click the link.

Expected result

Obsidian opens the linked note and scrolls to the linked heading.

Actual result

Obsidian opens the linked note and scrolls to the end of the text under the linked heading (up to the next equal or higher-level heading).

This happens in Safe Mode with the default theme.

Environment

  • Operating system: MacOS 12.3
  • Debug info:
    SYSTEM INFO:
    Obsidian version: v0.14.15
    Installer version: v0.14.2
    Operating system: Darwin Kernel Version 21.4.0: Mon Feb 21 20:36:53 PST 2022; root:xnu-8020.101.4~2/RELEASE_ARM64_T8101 21.4.0
    Login status: logged in
    Catalyst license: none
    Insider build toggle: off
    Live preview: on
    Legacy editor: off
    Base theme: light
    Community theme: California Coast
    Snippets enabled: 2
    Safe mode: off
    Plugins installed: 47
    Plugins enabled: 24
    1: Calendar
    2: Periodic Notes
    3: Folder Note Core
    4: Shortcut Launcher
    5: Regex Find/Replace
    6: Plaintext
    7: Quick Explorer
    8: Prominent Starred Files
    9: Reveal Active File Button
    10: Style Settings
    11: Pane Relief
    12: Kanban
    13: Smart Random Note
    14: Customizable Sidebar
    15: Smart Typography
    16: AidenLx’s Folder Note
    17: Auto Note Mover
    18: Collapse All
    19: Apply Patterns
    20: Tag Wrangler
    21: Quiet Outline
    22: Extract Highlights
    23: Hider
    24: Omnisearch

RECOMMENDATIONS:
Custom theme: for cosmetic issues, please first try updating your theme to latest. If still not fixed, please try to make the issue happen in the help vault or disable community theme and snippets.
Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the help vault or disable community plugins.


Additional information

A different link-jump problem: Backlink fails to jump to appropriate place with

This sentence is so people who write “header” when they mean “heading” can find this post when they search.

Ok, I had a note about this. It’s more a FR. Please, open one.

Done.

https://forum.obsidian.md/t/when-following-a-link-to-a-heading-load-the-heading-into-view/39037