Confluence - Anchor Links in Fabric Pages | Anchor links do not auto-scroll to the correct section.

XMLWordPrintable

    • 4
    • Minor
    • 1
    • Warranty

      Issue Summary

      When using anchor links on Fabric pages that point to Confluence pages using the hyperlink format as "spaces/{spaceKey}/pages/contentId#anchor", the links redirect to the correct page but fail to auto-scroll to the specified section. 

      Steps to Reproduce

      1. Open a Fabric Confluence page.
      2. Copy a URL containing an anchor element pointing to a specific section, eg https://site.atlassian.net/wiki/spaces/\{spaceId}/pages/{contentId}#anchor
      3. Paste the URL into the Fabric page and update it.
      4. Click on the link to redirect to the the page

      Expected Results

      The page should redirect and auto-scroll to the specified section indicated by the anchor link.

      Actual Results

      When the page link doesn't include the page name, it triggers a redirection that removes the anchor from the URL bar. This results in a problem with the auto-scroll feature, as it fails to navigate to the specified section after the redirection.

      Workaround

      As a temporary workaround for Legacy pages, you can convert your legacy page to the new editor. Here's how:

      • Follow the instructions in our Convert pages to the cloud editor 
      • After conversion, edit the Fabric page containing the link and update it to point to the newly converted page. Make sure the link includes the correct anchor to the desired section.

      Fabric Pages: Edit the page and include the page name into the url as it follows

            Assignee:
            Jing Zhang
            Reporter:
            Michael Gonzalez (Inactive)
            Votes:
            5 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: