In Obsidian Publish, jumping to Internal Links in the Same Page/Note does Not work when left and right sidebar is removed by toggling off: "Show table of contents", "Show graph view", "Show navigation", in site option under components

Steps to reproduce

  1. Subscribe to Obsidian publish.
  2. In publish settings > change site options > Toggle off “Show table of contents”
  3. In your note, create headings.
  4. In the same note, create internal links to those headings.
  5. Publish the note
  6. Clicking on the internal links in the same note to jump to that specific heading does not work when “Show table of contents” is toggled off.

Did you follow the troubleshooting guide? [Y]

Tested in restricted mode and default theme. Same result.

Expected result

Clicking on the internal links ([[Notename#Heading]]) in the same note should jump to that heading/section

Actual result

Clicking on the internal links in the same note would not jump to that heading/section.

Environment

SYSTEM INFO:
Obsidian version: v1.7.5
Installer version: v1.6.7
Operating system: Windows 10 Home Single Language 10.0.19045
Login status: logged in
Language: en
Catalyst license: none
Insider build toggle: off
Live preview: off
Base theme: light
Community theme: Minimal v7.7.10
Snippets enabled: 54
Restricted mode: on

RECOMMENDATIONS:
Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.


Additional information

  • Toggling “Show table of contents” in Publish’s site options make jumpin to internal links in the same page work normally.
  • Jumping to internal links to heading/sections in other pages work normally.

Internal links in same page with “Show table of contents” toggled OFF.

chrome_6Q0vDT5Qe3

Internal links in same page with “Show table of contents” toggled ON.

chrome_EUoar3fQKa

I tried and I can’t reproduce. See https://publish.obsidian.md/whitenoise/Formatting/Links.

You didn’t provide the website address, but it looks like you are some custom css/perhaps javascript on your website. You will have to try to remove all of that and see if it happens.

For some reason you are running an old version of Obsidian. We are at 1.8.10. I don’t think it has anything to do with this issue but we don’t support old versions.

I’ve tested without javascript and removed all custom css in the website. Same result.

I’ve tested further and it turns out it is not specific to the table of contents, but instead related to the site components that removes the left and right sidebar.

To reproduce

In site options, toggling off All Sidebar Related Components specifically (1) Show navigation, (2) Show graph view, and (3) Show table of contents, prevents jumping to internal links in the same page. Enabling any of these to show any sidebar fixes the problem.

Here’s my current site options

I’ve also just updated both obsidian and installer to latest version.

ok, thanks. I can reproduce the problem now!

1 Like