Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-27074

Linking to anchors does not always jump to the correct heading

      NOTE: This bug report is for Confluence Cloud. Using Confluence Server? See the corresponding bug report.

      When you link to anchors in Confluence, clicking those links does not always result in jumping to the appropriate header. Our customer reported this to be an issue on Firefox, however I also experienced it with Chrome in some cases.

      Strangely, the problem does not always appear for me, but I surely have seen it a number of times.

      It seems as the following is happenning: the browser loads the page, immediately jumps to the heading (anchor), but in some cases rendering the page (tables, possibly images and other content) alters the full size of the page, then upon full rendering the browser is at a wrong header.

      Screenshot of the desired result:

      Screenshot of the actual jump:

      I have attached a sample space export that contains two pages, one linking to the other, clicking to that link should all times jump to the correct header. Sorry for not being able to provide step-by-step reproduction steps, but the issue happened randomly at my box when reproducing.

        1. ff_screenshot_desired.png
          ff_screenshot_desired.png
          87 kB
        2. ff_screenshot2.png
          ff_screenshot2.png
          57 kB
        3. PLAYG-152050-27.xml.zip
          38 kB

            [CONFCLOUD-27074] Linking to anchors does not always jump to the correct heading

            Hi everyone,

            Thank you for previously raising this bug and bringing it to our attention.

            Within our company roadmap and work capacity, we try to address or review each bug request but admit that not each one will be resolved. To continue the culture of being honest and open, we are closing this bug to focus on our upcoming roadmap for all Confluence users.

            As we continue to roll out features we do look at requests made by our users and if you feel like this bug is still impacting your team please let us know.

            Thank you again for providing valuable feedback to our team!

            Sunny Xu (Inactive) added a comment - Hi everyone, Thank you for previously raising this bug and bringing it to our attention. Within our company roadmap and work capacity, we try to address or review each bug request but admit that not each one will be resolved. To continue the culture of being honest and open, we are closing this bug to focus on our upcoming roadmap for all Confluence users. As we continue to roll out features we do look at requests made by our users and if you feel like this bug is still impacting your team please let us know. Thank you again for providing valuable feedback to our team!

            dan added a comment -

            This is a really annoying issue. Can this please get addressed? This is not a minor issue to me since it really limits the names of my pages.

            dan added a comment - This is a really annoying issue. Can this please get addressed? This is not a minor issue to me since it really limits the names of my pages.

            Are there any updates on this issue?

            Thanks

            Mark

            Mark Davison added a comment - Are there any updates on this issue? Thanks Mark

            Hi,

            So 3 months on, a new quarter...Has this bug made it into the backlog yet?

            Thanks

            Mark

            Mark Davison added a comment - Hi, So 3 months on, a new quarter...Has this bug made it into the backlog yet? Thanks Mark

            Hi joeymcdaniel

            Thanks for getting in touch. Unfortunately this is not on our immediate backlog so it's unlikely that we'll be able to address this in the immediate future. As soon as we do have any update for this issue we'll ensure that the ticket is updates to reflect this.

            Regards
            Steve Haffenden
            Confluence Bugmaster
            Atlassian

            Steve Haffenden (Inactive) added a comment - Hi joeymcdaniel Thanks for getting in touch. Unfortunately this is not on our immediate backlog so it's unlikely that we'll be able to address this in the immediate future. As soon as we do have any update for this issue we'll ensure that the ticket is updates to reflect this. Regards Steve Haffenden Confluence Bugmaster Atlassian

            We are experiencing the same issue. Anchor links work beautifully in iE and Chrome, but not in Firefox.

            Any idea on when a fix might be implemented?

            Joey McDaniel added a comment - We are experiencing the same issue. Anchor links work beautifully in iE and Chrome, but not in Firefox. Any idea on when a fix might be implemented?

            Thank You Very Much - I will give this a try and let you know if we can live with the double click on the back button.....

            Deleted Account (Inactive) added a comment - Thank You Very Much - I will give this a try and let you know if we can live with the double click on the back button.....

            We're experiencing this issue with Firefox (actually using version 27.0.1) since Confluence 4, and now we've upgraded to Confluence 5.4.3 it still persists. With Chrome (version 33.0.1750.154 m) and Internet Explorer (version 11.0.9600.16521), there are no problems.

            While investigating this a while ago, a company that provides us with a plugin told us that this was a Firefox bug (https://bugzilla.mozilla.org/show_bug.cgi?id=645075) that has been known since version 4.
            As long as there's no solution for this, we bypassed this issue by adding

                AJS.toInit(function() {
                    if ($.browser.mozilla) {  // nur für Firefox
                       location.hash = location.hash;
                    }

            to a script section in custom HTML at the end of body. I'm not a programmer, but this seems to trigger a reload of every page, and on reload Firefox jumps nicely to the anchors. A drawback of this bypass is that you'll have to click the back button twice to go back to the previous page .

            Kirstin Seidel-Gebert added a comment - We're experiencing this issue with Firefox (actually using version 27.0.1) since Confluence 4, and now we've upgraded to Confluence 5.4.3 it still persists. With Chrome (version 33.0.1750.154 m) and Internet Explorer (version 11.0.9600.16521), there are no problems. While investigating this a while ago, a company that provides us with a plugin told us that this was a Firefox bug ( https://bugzilla.mozilla.org/show_bug.cgi?id=645075 ) that has been known since version 4. As long as there's no solution for this, we bypassed this issue by adding AJS.toInit(function() { if ($.browser.mozilla) { // nur für Firefox location.hash = location.hash; } to a script section in custom HTML at the end of body. I'm not a programmer, but this seems to trigger a reload of every page, and on reload Firefox jumps nicely to the anchors. A drawback of this bypass is that you'll have to click the back button twice to go back to the previous page .

            Hi - Please consider fixing this as it causes customer issues for us. It is still happening in Firefix 27.0.1. I also have experienced it with Chrome but it seems to be intermittent. IE seems to be working for us so far. Thank You.

            Deleted Account (Inactive) added a comment - - edited Hi - Please consider fixing this as it causes customer issues for us. It is still happening in Firefix 27.0.1. I also have experienced it with Chrome but it seems to be intermittent. IE seems to be working for us so far. Thank You.

            Mark Davison added a comment - - edited

            We are also experiencing this issue, we have over 500 users, quite a few of whom use Confluence exclusively with Firefox. Just to add we are on 5.1.2

            Mark Davison added a comment - - edited We are also experiencing this issue, we have over 500 users, quite a few of whom use Confluence exclusively with Firefox. Just to add we are on 5.1.2

              Unassigned Unassigned
              pkoczan Peter Koczan (Inactive)
              Affected customers:
              18 This affects my team
              Watchers:
              21 Start watching this issue

                Created:
                Updated:
                Resolved: