Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Links with URI fragments do not work as expected (in Google Chrome) #834

Open
wallacekelly-da opened this issue Nov 12, 2024 · 0 comments
Open

Comments

@wallacekelly-da
Copy link
Contributor

Repro steps

  1. Navigate to https://docs.daml.com/
  2. Select the following in the left-hand menu:
    • “Create Daml Apps”
    • “Write Smart Contracts”
    • “Integrate Daml with Off-Ledger Services”
    • “Access Active Contracts with the HTTP JSON API Service”
    • “HTTP JSON Service”
    • “Upload a DAR file”
  3. Copy the URL (e.g., https://docs.daml.com/json-api/index.html#upload-a-dar-file)
  4. Open an incognito window.
  5. Paste the URL into the browser. Press RETURN.

Expected result

The page loads with the heading "Upload a DAR file" at the top of the view port.

Actual result

The page loads to some other location on the page.

Impact

When sharing links to documentation, I cannot be sure that the person viewing the link will be directed to the desired location in the docs.

Additional notes

  • My experimentation suggests that it happens more consistently on long pages. However, there may be something else going on.
  • I'm using a Mac with Google Chrome, 130.0.6723.117 (arm64)
  • Pasting https://docs.daml.com/json-api/index.html#upload-a-dar-file into Safari works as expected.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant