Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-52497

Back button in browser with anchor links behaves incorrectly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • 5.9.4, 5.9.14, 5.10.7, 6.0.7, 6.1.1, 6.2.1, 6.2.4, 6.6.7, 6.7.2, 6.9.1, 6.11.0
    • Content - Linking

      Summary

      Back button in browser does not return to previous page when using URL with anchor link

      Environment

      • Any browser
      • Confluence 6.2.1

      Steps to Reproduce

      1. Create Page A with content that scrolls beyond the bottom of the screen, with several headings in the content that also go below the fold
      2. Add a table of content macro at the top of Page A
      3. Create Page B and insert Web Links with anchors from the table of contents to point to headings on Page A after the fold, for example
      4. Save Page B
      5. Click on the link to go to Page A with the anchor
      6. Click the back button in the broswer

      Expected Results

      The browser goes back to page

      Actual Results

      You need to click twice to return to the previous page

      Notes

      The page rendering is completely different in newer versions of Confluence which is why this bug doesn't appear in older, EOL versions. The left hand nav and floating toolbar are new and are likely to be part of the issue here.

      Workaround

      The same workaround mentioned in CONFSERVER-40462 can be applied for this case (actions on Page A):

      1. Insert a new macro: Table of Content Zone
      2. Drag your original table of content macro icon into the new Table of Content Zone
      3. Click "Save"

       

        1. BACK button and EDIT mode.mp4
          4.57 MB
          Stephen Kairys

            Unassigned Unassigned
            jrichards@atlassian.com James Richards
            Votes:
            12 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated: