-
Type:
Bug
-
Resolution: Fixed
-
Priority:
High
-
Component/s: Site - Performance
-
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
- Open a Fabric Confluence page.
- Copy a URL containing an anchor element pointing to a specific section, eg https://site.atlassian.net/wiki/spaces/\{spaceId}/pages/{contentId}#anchor
- Paste the URL into the Fabric page and update it.
- 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
- https://site.atlassian.net/wiki/spaces/\{spaceId}/pages/{contentId}/Page+Name#anchor